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.

  • Gave it right! Thanks! Hug.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.