Apache vs Built in PHP Server
-
Hi Leo,
Excuse me for this newbie question, but I want to ask should I run Apache and PHP server (PHP -> Start PHP Server) at the same time.
Or just press Start All button to start Apache + MySQL, (and forget about PHP Server)?In what circumstance do I have to use PHP server instead of Apache?
Is it when I want to use PHP 7?
If it is, then should I stop Apache and only using PHP server?Thank you
-
-
If you have only 1 project, use PHP Server (fast boot & less resource), just type:
http://localhost:8000 -
If you have many projects, you should use Apache, so each project has its own beautiful url:
http://web1.dev
http://web2.dev
http://webx.dev
Using PHP 7 or PHP 5.6 has no difference.
-
-
I see, thanks