summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
Diffstat (limited to 'package/php')
-rw-r--r--package/php/Makefile8
-rw-r--r--package/php/files/php.ini3
-rw-r--r--package/php/files/php.init2
3 files changed, 7 insertions, 6 deletions
diff --git a/package/php/Makefile b/package/php/Makefile
index ade1203b3..14e037a30 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= php
-PKG_VERSION:= 5.3.4
+PKG_VERSION:= 5.3.5
PKG_RELEASE:= 1
-PKG_MD5SUM:= b69b36132899c5ca3bf155efa0218676
+PKG_MD5SUM:= fb727a3ac72bf0ce37e1a20468a7bb81
PKG_DESCR:= PHP language interpreter
PKG_SECTION:= lang
PKG_DEPENDS:= libopenssl zlib
@@ -194,8 +194,8 @@ do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_BIN} $(WRKBUILD)/sapi/cli/php $(IDIR_PHP_CLI)/usr/bin/php
${INSTALL_DIR} $(IDIR_PHP_FASTCGI)/etc
${INSTALL_DATA} ./files/php.ini $(IDIR_PHP_FASTCGI)/etc
- ${INSTALL_DIR} $(IDIR_PHP_FASTCGI)/usr/sbin
+ ${INSTALL_DIR} $(IDIR_PHP_FASTCGI)/usr/bin
${INSTALL_BIN} $(WRKBUILD)/sapi/cgi/php-cgi \
- $(IDIR_PHP_FASTCGI)/usr/sbin/php
+ $(IDIR_PHP_FASTCGI)/usr/bin/php
include ${TOPDIR}/mk/pkg-bottom.mk
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) ;;