Apache + MySql + PHP Build Web Site Development Environment under mac

  • 2021-06-28 11:42:12
  • OfStack

Why not set up Apache, PHP and MySql environments separately?This way you can learn more and it's cooler to say.Maybe because I'm lazy, I'm the type of person who "uses what's available."A gentleman's life is neither different nor good but false.Xunzi taught us two thousand years ago to be good at using tools. Why should I not configure it at 1:1?

Ha-ha, I just said that the PHP development environment under windows I use the AppServ development suite, under Mac I use XAMPP.This is a non-profit project dedicated to promoting Apache servers, a tool launched by Apache Friends.In fact, XAMPP also has a version of windows, it seems that XAMPP should be better than AppServ, especially on win8 systems.Because AppServ's server control tool for the windows start menu, win8 is a very cumbersome system without a traditional start menu.Although PhpMyAdmin is not integrated in XAMPP, we have better MySqlWorkBench and HeidiSql. Besides temporary use 1, who will use PhpMyAdmin primarily for database design and maintenance?

Taken together, I'll use XAMPP + MySqlWorkBench for ease of use and cross-platform considerations.Windows, Linux, Mac eat all.

Above is the selection tool, next is the use of the tool!

It's just installation, nothing.After installation, the directory of the Apache server's Web site is/Applications/XAMPP/htdocs.

OK, gallop!


Related articles: