Exec function runs fine from command but fails from web

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ryanmhuc@yahoo.com

    #1

    Exec function runs fine from command but fails from web

    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?
Working...