CajunCenturion
Programmer
I'm trying to execute an external program from Apache/PHP, and the PHP scrips hangs up on the exec command.
Details:
Windows 2008 R2, Apache 2.4, and PHP 5.2.17
The executable was building Visual FoxPro 9.0, SP2.
The exe currently resides in the Windows\System32 directory. It's only there for now to try to take permissions out of the equation.
The topic has been address in the PHP forum: thread434-1683454
Since the program executes as expected when run directly from the command line, and also executes as expected by PHP as follows:
c:\>php script.php
I can't help but wonder if there is something amiss with the Apache config. Apache is currently configured to log in as Administrator in hopes to take any permission issues out of play.
Any help graciously appreciated.
--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
Wise men speak because they have something to say, fools because they have to say something. - Plato
Details:
Windows 2008 R2, Apache 2.4, and PHP 5.2.17
The executable was building Visual FoxPro 9.0, SP2.
The exe currently resides in the Windows\System32 directory. It's only there for now to try to take permissions out of the equation.
The topic has been address in the PHP forum: thread434-1683454
Since the program executes as expected when run directly from the command line, and also executes as expected by PHP as follows:
c:\>php script.php
I can't help but wonder if there is something amiss with the Apache config. Apache is currently configured to log in as Administrator in hopes to take any permission issues out of play.
Any help graciously appreciated.
--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
Wise men speak because they have something to say, fools because they have to say something. - Plato