group php?

Elan Ruusamäe glen at delfi.ee
Sun Jul 24 23:01:25 CEST 2005


On Friday 14 January 2005 20:04, Elan Ruusamäe wrote:
> hi
>
> i see that php-common and php4-common have gid=http for /var/run/php
> but that group is provided only by apache's
>
> and the php-common packages do not have dependancy on apache.
> so, in my opinion that group should be provided by php-common, and gid=php
> so then there's possibility to have other webserves besides apache too.
>
> anyway, such install of php4-common is not normal:
> Retrieving php4-common-4.3.10-4.i686.rpm...
> ......................... 100.0% [637.0K (394.0K/s)]
> warning: group http does not exist - using root
why this directory is owned by php-common anyway?

# rpm -qf /var/run/php
php4-common-4.4.0-2.23
php-common-5.0.4-6

it should be in package which provides apache sapi?
and make sure only apache sapis use that dir (others (cli/cgi/fcgi) should use /tmp)?

# egrep '^;?session.save_path' /etc/php{4,}/*.ini
/etc/php4/php-apache.ini:session.save_path         = /var/run/php
/etc/php4/php-apache2handler.ini:session.save_path         = /var/run/php
/etc/php4/php-cgi-fcgi.ini:session.save_path         = /tmp    ; argument passed to save_handler
/etc/php4/php-cgi.ini:session.save_path         = /tmp    ; argument passed to save_handler
/etc/php4/php-cli.ini:session.save_path         = /tmp    ; argument passed to save_handler
/etc/php4/php.ini:session.save_path = /var/run/php

/etc/php/php-apache.ini:session.save_path         = /var/run/php
/etc/php/php-cgi-fcgi.ini:session.save_path         = /tmp    ; argument passed to save_handler
/etc/php/php-cli.ini:session.save_path         = /tmp    ; argument passed to save_handler
/etc/php/php.ini:;session.save_path = "/tmp"








-- 
glen



More information about the pld-devel-en mailing list