--- Waqas Habib <[EMAIL PROTECTED]> wrote:

> I have an .sh file and i want to run it from my php script, how can i do it.
>   I did use the function shell_exec, exec but it does not show working.
>    
>   e-g
>    
>   shell_exec("./abc.sh")
>    
>   Any help..?
>    
>   -Waqas Habib

Many servers are configured to not allow execution of Bash scripts from the web
space.  You will have to move it outside the web space and give a full path in
a command like shell_exec().

James

Reply via email to