php is not recognized with process component #50229
Unanswered
PranitaEncureIT
asked this question in
Symfony Book: The Fast Track
Replies: 1 comment 1 reply
-
It seems like PHP is not installed on your machine, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried this:
$process = Process::fromShellCommandline('php artisan serve', base_path());
$process->setTimeout($timeout);
$process->mustRun();
$output = $process->getOutput();
But I got this error:
'php' is not recognized as an internal or external command, operable program or batch file.
Beta Was this translation helpful? Give feedback.
All reactions