summaryrefslogtreecommitdiff
path: root/package/php/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/php/files')
-rw-r--r--package/php/files/php.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/files/php.init b/package/php/files/php.init
index b2e60135b..786284b46 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
- /usr/bin/php-cgi
+ su -m www -c "/usr/bin/php-cgi -b /var/run/php5.sock"
else
/usr/bin/php-fpm -D
fi