diff options
-rw-r--r-- | package/php/files/php.ini | 2 | ||||
-rw-r--r-- | package/php/files/php.init | 2 | ||||
-rw-r--r-- | package/php/files/php.postinst | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/package/php/files/php.ini b/package/php/files/php.ini index 5b16bb80e..1eaf811b4 100644 --- a/package/php/files/php.ini +++ b/package/php/files/php.ini @@ -1,5 +1,5 @@ [PHP] -cgi.fix_pathinfo = 0 +cgi.fix_pathinfo = 1 zend.ze1_compatibility_mode = Off asp_tags = Off precision = 12 diff --git a/package/php/files/php.init b/package/php/files/php.init index 786284b46..5168bdd3e 100644 --- a/package/php/files/php.init +++ b/package/php/files/php.init @@ -14,7 +14,7 @@ autostart) ;; start) if [ -x /usr/bin/php-cgi ];then - su -m www -c "/usr/bin/php-cgi -b /var/run/php5.sock" + /usr/bin/php-cgi -b /var/run/php5.sock & else /usr/bin/php-fpm -D fi diff --git a/package/php/files/php.postinst b/package/php/files/php.postinst index b976cf95f..3e358e7f2 100644 --- a/package/php/files/php.postinst +++ b/package/php/files/php.postinst @@ -1,4 +1,3 @@ #!/bin/sh . $IPKG_INSTROOT/etc/functions.sh add_rcconf php NO -add_rcconf php_flags "-b 2000" |