![]() ![]() myPhpProject", by doing this you are creating a symbolic link of your "myPhpProject" folder in "htdocs"Ħ. type the command "ln -s /username/projects/myPhpProject. Following are the steps to install XAMPP on your Mac: Download the XAMPP from this link Open & Install the XAMPP (.dmg file) Start the XAMPP Server Download the XAMPP Click on the download button for XAMPP & wait for it to complete Once it’s downloaded, there should be a. 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ģ. Open XAMPP Control from /Applications/XAMPP/manager-osx.app to start your Apache and MySQL servers. Download XAMPP for OS X, open it, and drop it into your Applications folder. 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. With Mac, you have two options: You can use XAMPP just like with other operating systems or install everything manually. 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. How to install XAMPP on MacOS (2021) Amit Thinks 98.1K subscribers Subscribe 101K views 1 year ago Learn XAMPP, a cross platform web server package for PHP. How to download and install XAMPP on a Mac (2020 edition) - YouTube 0:00 / 7:23 How to download and install XAMPP on a Mac (2020 edition) David Connelly 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |