First of all, why not set up Apache, PHP and MySql environments separately? This way you can learn more and talk cooler. But maybe it’s because I’m lazy, I’m the kind of person who “uses whatever is available”. A gentleman's life is not different, he is good at things and fake things. Xunzi taught us two thousand years ago that we must be good at using tools. Why do I have to configure it bit by bit by myself?
Haha, as I mentioned just now, I use the AppServ development kit for the PHP development environment under Windows. For Mac, I use XAMPP. This is a tool launched by Apache Friends, a non-profit project dedicated to promoting the Apache server. In fact, XAMPP also has a windows version. Now it seems that XAMPP should be easier to use than AppServ, especially on win8 system. Because the server control tool for the windows start menu in AppServ is really troublesome to use on a system like win8 that does not have a traditional start menu. Although PhpMyAdmin is not integrated into XAMPP, we have MySqlWorkBench and HeidiSql that are easier to use. Apart from temporary use, who would mainly use PhpMyAdmin to design and maintain the database?
Taken together, in terms of ease of use and cross-platform considerations, I will still use XAMPP + MySqlWorkBench in the future! Windows, Linux, Mac all available.
The above is the selection tool, the next step is to use the tool!
Actually, it’s just installation, nothing more. After installation, the directory of the Apache server website is /Applications/XAMPP/htdocs.
Okay, let’s ride to your heart’s content!