browse: forums | FAQ
Connecting Tech Pros Worldwide

Hey there! Do you need PHP help?

Get answers from our community of PHP experts on BYTES! It's free.

Exec function runs fine from command but fails from web

ryanmhuc@yahoo.com
Guest
 
Posts: n/a
#1: Aug 23 '08
I have a php script that runs perfect from the command line but when
run over the web through apache the exec function has a return status
of 1. Safe mode is turned off, the command can be executed by apache.
Many commands like 'whoami', 'zip', will work but many others such as
mysql will come back with no ouptput and a return status of 1.

Any ideas?



Closed Thread