1. Server Environment Requirements
- PHP 5.2.4 or later
- MySQL 5.0 or later
- Apache mod_rewrite module (optional, to support "fixed link" and "Site Network" features)
Select Install: XAMPP
2, XAMPP installation xammpp download
Administrator rights to execute the SUDO/APPLICATIONS/XAMPP/XAMPPFILES/XAMPP start command
If Apache, MySQL, and ProFTPD are shown OK, the installation is successful.
If the following error indicates that the service has been started, it needs to be shut down before re-execution?? The above command
3. After successful installation, configure Apache server
1), enter the ETC configuration directory under the XAMPP directory, then use VIM to edit the httpd.conf (can use/search vhosts to Virtual hosts to comment on its solution)
CD APPLICATION/XAMP/ETC
Vim httpd.conf
2), enter the extra directory under etc, use vim to edit the httpd-vhosts.conf, add the following content at the end.
CD extra
Vim httpd-vhosts.conf
3), edit your host file with vim/etc/hosts, add ip+ domain name at the end
4), after all the operations, do not forget to restart your service, to perform the latest changes. Add a file to your project directory, access your domain name, and if successful, it's done!
WordPress Installation for Mac