system exec php commands

extor

Verified User
Joined
Jul 15, 2004
Messages
73
Location
The Netherlands
I have a problem and cant find whats wrong.

I have made a script and want it with the "system" command be started like:
system("/home/username/script/startfile");
echo "succesfully started!";

I saved that script as start.php en when I go to it in IE i'll get no errors, but when I watch in ssh I see nothing has been started and when I do /home/username/script/startfile in ssh then all works fine..

Even with the "exec" php command i'll have the same problem :(

Does anyone know how to help me? Thx!!
 
Last edited:
is the owner:group [username] ??

Did you set it to execute ;)

check the following logs:

/var/httpd/domains/[domain].error.log
and
/var/httpd/suexec_log

Good luck ;)
 
no errors in the log files.. checked them

and tried to run the php file in the account where the script is located but get the same :(
 
Back
Top