Re: /var/lib/php/session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 18, 2007 at 03:08:44PM +0100, Tim Jackson wrote:
> However, you'll notice /var/lib/php/session in the above list. This
> doesn't seem to be specific to HTTPD and indeed is useful if you are using
> php-cgi from a webserver. Indeed, the path is compiled into the binaries;
> for example:
> 
> $ php-a
> Interactive shell
> 
> php > echo ini_get('session.save_path');
> /var/lib/php/session
> 
> So I think we should probably move it to php-common - what do others think?

The directory needs to be chgrp apache, so the containing package really 
needs the "Requires(pre): httpd" to ensure that user exists.  So having 
php-common require httpd defeats the point of the split.

It's a hard problem because the permissions under which php-cgi might be 
executed are not really predictable.  What if it's used with libghttpd, 
or httpd and suexec, etc...

joe

_______________________________________________
Fedora-php-devel-list mailing list
Fedora-php-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-php-devel-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux