Solve XAMPP httpd.conf? Path and user Group set permissions problem under MAC environment

Install the latest version of XAMPP on a Mac, 7.3.9. Ready to play at laravel result can not find the file directory, then go online to find information search results are such an outcome

 

 Let me go to Applications inside the mask XAMPP folder, the new version of the egg mother does not have this folder ah! That folder where to go run it? After all, is to have a place to put, there is a Volumesxiam in the Tab 

Here are three buttons, Mount (load) Unmout (unloading), Explore (exploration) and then click Mount EXplore click to open xampp in the root directory. The new version of xampp folder was pulled out separately. The original is not placed in the Applications directory.

 

 

 

Find the root directory can be configured etc / httpd.conf, and such modifications file path, ah, ah, what the port number, but only if you have permission, then the user name and group must be modified to your own

User daemon
Group daemon
Tell me tutorial on the network you want to modify the User and Group user name of my own computer, but in fact the situation has not changed in the future to improve, but apache server error. Tip: bad user name.
In fact, here the user name is not in your user name and group use on your own computer user name but comes with XAMPP apache server.
Then the User Group and on how to view the apache service it

 

 Click Open Terminal to open the focus, we know that PHP file is on the opt / lammp below, then find the course catalog View

root@debian:~# cd ../

root@debian:/# cd opt/lampp/htdocs

Saw my user name and grouping are bitnami then it will

User daemon
Group daemon 
替换为
User bitnami
Group bitnami

然后完美运行laravel

 

 

Guess you like

Origin www.cnblogs.com/yingcaiyi/p/11488130.html