keeperple.blogg.se

Xampp osx
Xampp osx






Open /etc/hosts as a sudo and add your new site to it 127.0.0.1 yoursite.

xampp osx

ServerAlias ServerAdmin "/Volumes/work/xampp/yoursite.mac/webroot"ĮrrorLog "/Volumes/work/xampp/yoursite.mac/logs/oll.mac-error_log"ĬustomLog "/Volumes/work/xampp/yoursite.mac/logs/oll.mac-access_log" common Open file /Applications/XAMPP/xamppfiles/etc/extra/nf and change it to the following We have added DocumentRoot "/Applications/XAMPP/xamppfiles/apache2/htdocs"Īnd the block DocumentRoot "/Volumes/work/xampp" Open /Applications/XAMPP/xamppfiles/apache2/conf/nf and change it to the following Alias /bitnami/ "/Applications/XAMPP/xamppfiles/apache2/htdocs/"Īlias /bitnami "/Applications/XAMPP/xamppfiles/apache2/htdocs"ĭocumentRoot "/Applications/XAMPP/xamppfiles/apache2/htdocs" XAMPP is the most famous software package to set up a PHP development environment for web services by delivering all the required software features. Let's say that you have installed XAMPP regularly, but your httpd directory is on another volume. You will have to change 3 files if you want to keep web root in another directory. I would like to expand this answer for 2022.








Xampp osx