I would like to ask you about the PHP built-in server settings used when using Laravel.

Asked 2 years ago, Updated 2 years ago, 42 views

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

2022-09-21 19:33

1 Answers

php -S localhsot:8000 t- webroot
[Source] [PHP] PHP Internal Web Server|Author Mini
http://blog.naver.com/PostView.nhn?blogId=mtjeaids&logNo=220552054915


2022-09-21 19:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.