Answer the question
In order to leave comments, you need to log in
Why doesn't php exec() work on Windows?
On a virtual machine under winXP, exec() and system() do not work, the script just hangs in the browser and nothing happens. Everything works fine without these commands.
safe_mode Off Off
Sample code;
<?php
exec('calc');
?>
Answer the question
In order to leave comments, you need to log in
The answer is this: in php.ini line
must be
allow_url_include = On
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question