I am using built in php webserver and here is code i have written in my php file but not working.
exec("php -S localhost:8000 -t /home/test/");
Is there anything wrong?
Thanks
I am using built in php webserver and here is code i have written in my php file but not working.
exec("php -S localhost:8000 -t /home/test/");
Is there anything wrong?
Thanks
Try to run:
$lines = system("php -S localhost:8000 -t /home/test/", $output);
var_dump($output, $lines);
Then You should see what is wrong.