summaryrefslogtreecommitdiff
path: root/package/php/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/php/files')
-rw-r--r--package/php/files/php.ini3
-rw-r--r--package/php/files/php.init2
2 files changed, 3 insertions, 2 deletions
diff --git a/package/php/files/php.ini b/package/php/files/php.ini
index e6fb3c5fa..b41be8776 100644
--- a/package/php/files/php.ini
+++ b/package/php/files/php.ini
@@ -248,7 +248,8 @@ default_mimetype = "text/html"
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
-doc_root = /www
+; lighttpd: must be the same as server.document-root
+doc_root = /srv/www/htdocs
; The directory under which PHP opens the script using /~username used only
; if nonempty.
diff --git a/package/php/files/php.init b/package/php/files/php.init
index 238f67daf..210db4ad8 100644
--- a/package/php/files/php.init
+++ b/package/php/files/php.init
@@ -3,7 +3,7 @@
#INIT 80
. /etc/rc.conf
-export PHP_FCGI_CHILDREN=''
+export PHP_FCGI_CHILDREN='2'
case $1 in
autostop) ;;