Hi Hugo,

I've problems with the latest PHP in my application as well:

PHP Warning:  session_start() [<a
href='function.session-start'>function.session-start</a>]: SAFE MODE
Restriction in effect.  The script whose uid is 109 is not allowed to access
owned by uid 0 in /home/httpd/sites/kbp-devel/login.php on line 33
PHP Fatal error:  session_start() [<a
href='function.session-start'>function.session-start</a>]: Failed to
initialize storage module: files (path: ) in
/home/httpd/sites/kbp-devel/login.php on line 33

It looks like PHP with activated SAFE MODE isn't able to access the Temp-Dir
/tmp (root:root, 777) which is used by default as session_save_path if the
variable is nnot set in php.ini. This was no problem with earlier versions
of PHP. I've now set session.save_path = "/home/httpd/tmp" in php.ini and
created the directory owned by httpd. If this is an intentional change and
not a bug in the 5.2.1 we should modify the default install accordingly.

Interestingly this doesn't happen always and immediatelly after upgrade to
5.2.1 - I've running another vHost on the server with exactly the same
configuration which is still working without complaining about not beeing
able to initialize storage module...

regards,
Tobias

Hugo Diaz <[EMAIL PROTECTED]> wrote:
> Hi all
> I have TSL 2.2 with squirrelmail 1.4.9a installed (from tgz). When
> upgrade php from 5.2.0 to 5.2.1 , squirrelmail has broken with
> multiples errors for example:
>
> SAFE MODE Restriction in effect.  The script whose uid is 500 is not
> allowed to access  owned by uid 0
> in /home/httpd/html/squirrelmail-1.4.9a/functions/global.php on line
> 405
>
> When restore php 5.2.0 all function OK..
>
> Is incompatible squirrelmail with newer php ?
>
> Regards,
> PD: Sorry for my poor english
>
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to