Blank
Hello there
I have compiled Apache 2.0.36 with PHP 4.2.1 as a DSO module,
successfully ( well I think ). But cannot make php work properly because of
a warning problem such as :
Warning: SAFE MODE Restriction in effect. The script whose uid is -1
is not allowed to access /usr/local/webserver/php.php owned by uid 0 in
Unknown on line 0
Warning: Failed opening '/usr/local/webserver/php.php' for inclusion
(include_path='.:/usr/local/php/lib/php') in Unknown on line 0
I have set the safe_mode in the php.ini to ON, but the problem still
occurs. My script, called php.php, is fairly simple as such :
<?php
echo "hello";
?>
The message says that 'The script whose uid is -1', what script are we
talking about? The only script that I'm using is the one above. There is no
included file in there.
My script as the user/group of root/root and I set the Apache
(httpd.conf) user/group as apache/apache. My question is, is it possible
that apache deamons may run as noboby?
Thanks Salsero
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php