Re: safe mode question

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

 



Your php.ini should have root as its owner and be set to 600, if your using apache server then apache must start as root, the php.ini file is read only once by root when the server starts - so that setting should not cause problems, however if using the cli then you should also make /etc/php.ini readable by all other users (permissions 644).

Not sure why the suse folks would put both --enable-cli and --disable-cli but i notice they also have --with-pear and --without-pear, which takes precedence im not completely sure but would think the last one would so you probably have pear and the cli installed despite the --disable and --without lines, if i remember correctly the cli is required to use pear so --disable-cli would force --without-pear, i would suggest you compile your own version.


~James



(Robin) wrote:
Doh -
I figured it out (for those who were interested). The permissions on /etc/php.ini was set to 600 (owner == root). Changing this it other read, fixes the issue.

Any idea why Suse would do this?

Thanks
-robin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux