- Navigate to
- Do a search for “php”. You should see the following line:
#LoadModule php5_module libexec/apache2/libphp5.soRemove the “#”
- Save the file. You may need to authenticate upon saving.
sudo apachectl restartto restart apache
localhostyou will see It works!
/etc/apache2/httpd.confSearch for “virtual” in your text editor. You should see the following lines:
Uncomment the second line that starts with “#Include” by removing the “#”. We now need to modify httpd-vhosts.conf file to add our virtual hosts.
- Install : XAMPP Mac OS X 1.7.3 download
if you see
do these commands
- in http://localhost you can see the test site