How to install Apache, MySQL and PHP in OS X
Ross McKillop
Network Administration - Using MAMP, you can quickly and easily install Apache, PHP and MySQL on your Mac. Each package can be installed separately, but MAMP has several advantages to fix these individual settings. Besides, MAMP will not change or interfere with the existing version of Apache running on the Mac operating system. If Apache / MySQL / PHP is not needed anymore, delete the MAMP directory and then everything will return to its original state. This article will guide you through the initial installation and installation process .
- The first thing you need to do here is download MAMP. Open the .DMG file, then review the registry and click the Agree button.
How to install Apache, MySQL and PHP in OS X Picture 1
- Drag the MAMP folder into Applications. Ignore the MAMP PRO folder (unless you want to buy the MAMP Pro version - it includes a number of extended years, but not for free).
How to install Apache, MySQL and PHP in OS X Picture 2
- Give MAMP about 1 minute to install
How to install Apache, MySQL and PHP in OS X Picture 3
- Navigate to Applications , select the MAMP folder, and double-click MAMP.app .
How to install Apache, MySQL and PHP in OS X Picture 4
- The MAMP interface will launch, then Apache and MySQL will start.
How to install Apache, MySQL and PHP in OS X Picture 5
- Your browser will open and load MAMP's display tables (http:/// localhost: 8888 / MAMP /? Language = English). This page contains all the information about the default settings for the MySQL server and gives you quick access to the tools contained within it (phpinfo, phpMyAdmin and SQLiteManager).
How to install Apache, MySQL and PHP in OS X Picture 6
- Select phpMyAdmin to configure MySQL database.
How to install Apache, MySQL and PHP in OS X Picture 7
- The 'root' directory of your web server (document root) can be found in the htdocs subdirectory of MAMP.
How to install Apache, MySQL and PHP in OS X Picture 8
- Put the .html, .php, . files in the htdocs directory, they will be available at http:/// localhost: 8888
How to install Apache, MySQL and PHP in OS X Picture 9
- Go back to the MAMP interface application, click the Preferences . button. The first tab will allow you to control how the servers are started / stopped, the start page will have to load when MAMP opens, and the location of the start page.
How to install Apache, MySQL and PHP in OS X Picture 10
- The Ports tab allows you to change ports for Apache and MySQL.
How to install Apache, MySQL and PHP in OS X Picture 11
- The PHP tab lets you specify which version of PHP you like to use, whether or not Zend Optimizer is enabled and which cache to use.
How to install Apache, MySQL and PHP in OS X Picture 12
- Finally, the Apache tab will allow you to change the Document Root by default.
How to install Apache, MySQL and PHP in OS X Picture 13
You should read it
- Backup and restore MySQL with mysql-zrm on Debian Sarge
- Instructions for creating virtual hosts with Apache in Ubuntu
- How to install and configure MySQL server on Pi
- Install and configure Apache in Ubuntu
- Install Cherokee with PHP5 and MySQL supported in Fedora 14
- Access applications directly to XAMPP MySQL Server
- Download XAMPP 8.0.2: Free local Web server
- How to Send Sql Queries to Mysql from the Command Line
- How to install MySQL Workbench Community Edition on Windows 10
- How to install MySQL on Ubuntu 20.04
- Compare Nginx and Apache
- How to Connect to MySQL Using PHP