Changes between Version 87 and Version 88 of howto/MAMP
- Timestamp:
- Dec 30, 2014, 11:46:43 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v87 v88 6 6 7 7 * Apache 2.2.* - See: [[howto/Apache2]] for instructions on installation of Apache2 8 * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation of MySQL9 * PHP 5.6.* - See: [[howto/PHP]] for instructions on instal ation of PHP8 * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation of MySQL 9 * PHP 5.6.* - See: [[howto/PHP]] for instructions on installation of PHP 10 10 11 11 12 12 Simplified sequence: 13 13 14 Install Apache15 Install MySQL16 Install PHP17 Modify Apache Configuration to support MySQL and PHP.14 * Install Apache 15 * Install MySQL 16 * Install PHP 17 * Modify Apache Configuration to support MySQL and PHP. 18 18 19 19 = Integrate PHP with Apache = … … 91 91 }}} 92 92 93 = Step 4: Cr aete phpinfo =93 = Step 4: Create phpinfo = 94 94 This is used to test the configuration after you have integrated it with Apache and MySQL. 95 95 96 Create a file named `phpinfo.php` that contains the following t hreelines96 Create a file named `phpinfo.php` that contains the following two lines 97 97 98 98 {{{ 99 99 <?php 100 100 phpinfo(); 101 ?>102 101 }}} 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`"). \\ 102 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. 103 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`"). \\ 107 104 Note that this file needs to be readable and executable. 108 105