To run XAMPP, go to Applications Folder on macOS, locate XAMPP Folder and. No need to change any settings in the installer. Just click Next, Next, and Next until it installs. myPhpProject", by doing this you are creating a symbolic link of your "myPhpProject" folder in "htdocs"Ħ. To install the XAMPP on your macOS machine, simply double-click the application inside the installer window and it'll open the main installer window for XAMPP. type the command "ln -s /username/projects/myPhpProject. open a terminal and go to "/Applications/XAMPP/xamppfiles/htdocs"ĥ. git clone the project you want to work on in anywhere you like, in my case "/username/projects/myPhpProject"Ĥ. I found a recipe to do it! Below is the recipleģ. Today, while I have to work on a PHP project again, I took some time to look into if I can create a symbolic link in "htdocs" folder so that I don't need to mess with "nf" anymore. ![]() ![]() Yet the default setup of putting all the php code within the "/Applications/XAMPP/xamppfiles/htdocs" in OSX is not so developer friendly, as I have a habit to put all my code under "/username/projects/", I used to just go into the nf of XAMPP to change the "DocumentRoot" and "" tag to my project folder, so I can run the code while maintain my own folder structure. ![]() XAMPP is a really good tools to quickly setup a php dev environment.
0 Comments
Leave a Reply. |