Hi, I've installed LiNUX 7.2, no patches are installed. The Apache server is up and running with the PHP4 module. I've installed some php pages to manage our servers, but some shell commands must be run with the exec system call. Note that I've did not make some changes on the default configuration of the httpd.conf file. According to what's going on, scripts files are not excuted. Is there some modification into configurations files ? Somes updates of PHP ? Thanks for your help. Pascal MiQUET
Look at the /etc/php.ini file for the section called Safe Mode for some clues. As long as safe mode is on, there are some limitation on what you can do. Avi --On Tuesday, October 23, 2001 04:57:58 PM +0200 Pascal Miquet
Hi,
I've installed LiNUX 7.2, no patches are installed. The Apache server is up and running with the PHP4 module. I've installed some php pages to manage our servers, but some shell commands must be run with the exec system call. Note that I've did not make some changes on the default configuration of the httpd.conf file. According to what's going on, scripts files are not excuted.
Is there some modification into configurations files ? Somes updates of PHP ?
Thanks for your help.
Pascal MiQUET
-- Avi Schwartz avi@CFFtechnologies.com "I have to share the credit. I invented it, but Bill made it famous." - IBM engineer Dave Bradley describing the control-alt-delete reboot sequence
On Tuesday 23 October 2001 2:57 pm, Pascal Miquet wrote:
I've installed LiNUX 7.2, no patches are installed. The Apache server is up and running with the PHP4 module. I've installed some php pages to manage our servers, but some shell commands must be run with the exec system call. Note that I've did not make some changes on the default configuration of the httpd.conf file.
According to what's going on, scripts files are not excuted.
Is there some modification into configurations files ? Somes updates of PHP ?
I expect that safe_mode=on in /etc/php.ini (this is normally used on shared
servers; change to off) since this is the default setting. However, you may
also wish to checkout
http://www.php.net/manual/en/function.escapeshellcmd.php before using exec().
M
--
Martin Webster
participants (3)
-
Avi Schwartz
-
Martin Webster
-
Pascal Miquet