Computing.Net > Forums > Programming > PHP Program Execution

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP Program Execution

Reply to Message Icon

Name: DrSmartman
Date: August 21, 2003 at 16:40:56 Pacific
OS: RH Linux 7.3
CPU/Ram: NA
Comment:

Hello All,

Yes, it's me again. At least I'm not asking for anyone
to email me my homework....he, he.

Anyway, I want to run a PHP script that executes a
Perl program on the server with one parameter. I
have used exec(), shell_exec() and system() to no
avail. The PHP script does not generate any errors,
but I know the script did not work because it
ALWAYS generates a log file.....I used the virtual and
full paths. I always test them on the command line
first....

system("/fullpath/program.pl param",$result);
....or......
exec("/fullpath/program.pl param",$resA,$resB);
....or......
shell_exec("/fullpath/program.pl param");

Any ideas on why this won't execute?

Many thanks....



Sponsored Link
Ads by Google

Response Number 1
Name: gpp
Date: August 21, 2003 at 16:53:40 Pacific
Reply:

have you checked file permissions?


0

Response Number 2
Name: DrSmartman
Date: August 22, 2003 at 06:35:54 Pacific
Reply:

Hi gpp,

Yes, permissions are all set...In fact, I put a recursive
777 just to make sure. Could this have anything to
do with global PHP settings?

Thanks again...


0

Response Number 3
Name: gpp
Date: August 22, 2003 at 11:50:54 Pacific
Reply:

There are no messages at all in the server logs?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Very basic Python questio... IE6 & Gif image probl...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: PHP Program Execution

Pause program execution www.computing.net/answers/programming/pause-program-execution/3573.html

PHP programming.....!!! www.computing.net/answers/programming/php-programming/11733.html

PHP Programming Exercises www.computing.net/answers/programming/php-programming-exercises/9127.html