Can you use the built-in php server without adding php to the Path?
Asked
Viewed 41 times
0
You can use the built-in php server without adding php to the Path of windows environment variables?
Locate where the binary is php.exe and type your absolute path at the command prompt or Powershell. For example: C:\CaminhoDoDiretorioPhp\php.exe -S localhot:8080 -t C:\CaminhoDoDiretorioDoMeuProjeto, where the option -t indicates the root directory of your PHP project.
Locate where the binary is
php.exe
and type your absolute path at the command prompt or Powershell. For example:C:\CaminhoDoDiretorioPhp\php.exe -S localhot:8080 -t C:\CaminhoDoDiretorioDoMeuProjeto
, where the option-t
indicates the root directory of your PHP project.– Caio
Gave it right! Thanks! Hug.
– user80010