I used Java mostly, but this time I got the opportunity to use one of PHP and PHP frameworks, Lavel. In order to conduct the practice on Mac OS, we are checking the results of coding through a browser by entering "php-Slocalhost:8000" in the terminal. I noticed that the default root directory designation path was set just below the user directory.
I want to change to another directory, do I need to change the settings? Or do I have to make a separate configuration file? It's my first time using it, so I don't know how to change the directory.
php laravel server
php -S localhsot:8000 t- webroot
[Source] [PHP] PHP Internal Web Server|Author Mini
http://blog.naver.com/PostView.nhn?blogId=mtjeaids&logNo=220552054915
© 2024 OneMinuteCode. All rights reserved.