Changes between Version 85 and Version 86 of howto/MAMP
- Timestamp:
- Dec 30, 2014, 5:03:12 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v85 v86 7 7 * Apache 2.2.* - See: [[howto/Apache2]] for instructions on installation of Apache2 8 8 * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation ofMySQL 9 * PHP 5.6.* - See: [[howto/P hP]] for instructions on instalation of PhP9 * PHP 5.6.* - See: [[howto/PHP]] for instructions on instalation of PHP 10 10 11 11 … … 14 14 Install Apache 15 15 Install MySQL 16 Install P hP17 Modify Apache Configuration to support MySQL and P hP.16 Install PHP 17 Modify Apache Configuration to support MySQL and PHP. 18 18 19 = Integrate P hP with Apache =19 = Integrate PHP with Apache = 20 20 21 21 If this is your first install, you need to enable php56-apache2handler in your web server. … … 59 59 Note: either of the above two edits are only required if the lines are not present in the httpd.conf file, as the apxs command (executed above) will add those for you. 60 60 61 = Step 3: MySqL setup for P hP =61 = Step 3: MySqL setup for PHP = 62 62 Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql5/mysqld.sock) 63 63 … … 101 101 ?> 102 102 }}} 103 and place it in your Apache "`DocumentRoot`" directory (nominally: "`/opt/local/apache2/htdocs`") or your own user "`Sites`" directory if you activated user directories as specified above. 104 Point your browser to http://localhost/phpinfo.php (or http://localhost/~username/phpinfo.php as applicable) and verify that the correct version of PHP is active (v5.6.4 as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`"). \\ 103 and place it in your Apache "`DocumentRoot`" directory (nominally: "`/opt/local/apache2/htdocs`") or your own user "`Sites`" directory if you activated user directories as 104 specified above. 105 Point your browser to http://localhost/phpinfo.php (or http://localhost/~username/phpinfo.php as applicable) and verify that the correct version of PHP is active (v5.6.4 as of this 106 writing) and that MySQL support is active (you may want to search the page for "`mysql`"). \\ 105 107 Note that this file needs to be readable and executable. 106 108 107 * Remember to return to [[howto/P hP]] to complete the PhP installation.109 * Remember to return to [[howto/PHP]] to complete the PHP installation. 108 110 109 110 111 [wiki:howto <- Back to the HOWTO section]