I am using wamp 2.2e. I have tested the PHP on tha server and it works.
Now, I have a script called scriptA.py that I want to execute. I am not using safe mode, and in the php.ini the disable_functions line is empty. Ok, so I tried:
exec("C:\wamp\www\scriptA.py")
exec('C:\wamp\www\scriptA.py')
exec('C:\\wamp\\www\\scriptA.py')
same with system()...
tried with "cmd /c
"..
none worked.
I also found a potential reason - maybe I need to set permmisions to the cmd using the CALC command, but I dont know what is my user, is it the computer name in control panel->system ?
please assist me
OK, there is a progress, now the browser shows me the errors:
Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [C:\wamp\www\Telnetshutdown.py] in C:\wamp\www\index2.php on line 2
# Time Memory Function Location
1 0.0005 362784 {main}( ) ..\index2.php:0
2 0.0005 362912 exec ( ) ..\index2.php:2
( similar if i try with system()
) - does it help ?