By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

Exec function runs fine from command but fails from web

P: n/a
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?
Aug 23 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.