Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#2879 - lighttpd spawn-php chroot functionality
Attached to Project:
Arch Linux
Opened by eliott (cactus) - Saturday, 25 June 2005, 22:28 GMT
Last edited by Dale Blount (dale) - Sunday, 26 June 2005, 00:33 GMT
Opened by eliott (cactus) - Saturday, 25 June 2005, 22:28 GMT
Last edited by Dale Blount (dale) - Sunday, 26 June 2005, 00:33 GMT
|
DetailsAdding to following to /etc/conf.d/spanw-php
## chrootdir CHROOTDIR="/home/php" and modifying the following in /etc/rc.d/spawn-php if test x$UID = x0; then EX="$EX -u $USERID -g $GROUPID" fi fi to be: if test x$UID = x0; then EX="$EX -u $USERID -g $GROUPID" if [ -z "$CHROOTDIR" ]; then EX="$EX -c $CHROOTDIR" fi fi allows the prespawned php-fcgi instances to start chrooted in /home/php. |
This task depends upon
if [ ! -z "$CHROOTDIR" ]; then