htdocs directory on mac osx

God, I was lost.

I don’t know since when you shouldn’t put your html file in /Application/Xampp/xamppfiles/htdocs

instead, you should put it on:



Start XAMPP on Yosemite OSX 10.10 (error example)

1. How to start your XAMPP services?

XAMPP control panel on OSX named manager-osx

xampp control panel

xampp control panel


2. Go to tab “manage server” then start the apache and mysql service.

3. If you can’t start the mysql servie, open your terminal and execute this command :

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

4. You might see ” starting mysql….. success” but Mysql database on manager-osx is still not running.

Don’t worry, it just takes a while for it to become “running”, you can just open http://localhost/phpmyadmin on your browser and you will see that it actually has been started already.

Good luck !