We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6469d9 commit 0cf3f4dCopy full SHA for 0cf3f4d
src/rpm/conf/ioncube.sh
@@ -0,0 +1,14 @@
1
+#!/bin/bash
2
+
3
+VESTA='/usr/local/vesta'
4
+ioncube_loader="ioncube_loader_lin_5.6.so"
5
+php_ini='/usr/local/vesta/php/lib/php.ini'
6
7
+# Check if extention is enabled
8
+if [ -z "$(grep $ioncube_loader $php_ini | grep -v ';')" ]; then
9
+ echo "zend_extension = \"$VESTA/ioncube/$ioncube_loader\"" >> $php
10
+ /etc/init.d/vesta restart
11
+ exit
12
+fi
13
14
+exit
0 commit comments