| 
	
 | 
 Posted by jonathan.beckett on 02/03/06 14:35 
Hi all, 
 
We have PHP 4 installed on Windows 2003 with Apache 2, and the 
shell_exec has mysteriously stopped working - it hangs the page rather 
then returning anything. 
 
To check it out, I tried shell_exec("dir") which works fine on the 
development machine, but not on the live server. 
 
I'm guessing the network guys have done something to the security of 
the live server that would cause this - but it's very strange; why 
would Apache (running under the default system account) not allow PHP 
to run shell_exec statements? 
 
I have checked PHP and it's not in safe mode. 
 
I'm a bit stuck - any ideas would be appreciated...
 
  
Navigation:
[Reply to this message] 
 |