Hi.
I am having a problem with safe_mode in PHP-4.3.2. I was running an
Apache-1.3.27 web server on solaris8 with PHP-4.3.1 with safe_mode on -
and everything was working fine. Yesterday, I upgraded to Apache-1.3.28
and PHP-4.3.2 with the same settings as before - but safe_mode was acting
strange. A script with a specific group was not allowed to access another
file with the same group - and safe_mode_gid is on. The error log says the
following:
"PHP Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 1/7177 is not allowed to access menu.txt owned by uid/gid 7742/10 in ..."
But those UID/GID are the wrong ones. They do in fact match the file.
After hours of trying to figure out the problem, I decided to replace the
present PHP-4.3.2 with PHP-4.3.1 with the exact same settings. And it
worked.
I have asked Google for help and looked in the PHP changelog without any
luck.
Am I the only one with that problem?
Thanks in advance,
Henrik
--
Henrik Oddershede, he****@cs.auc.dk