Page "howto/MAMP" was changed by cal@macports.org Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=88> Revision 88 Comment: typos Changes: -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: howto/MAMP ========================================================================= --- howto/MAMP (version: 87) +++ howto/MAMP (version: 88) @@ -5,16 +5,16 @@ These installation instructions are written for the following versions: * Apache 2.2.* - See: [[howto/Apache2]] for instructions on installation of Apache2 - * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation ofMySQL - * PHP 5.6.* - See: [[howto/PHP]] for instructions on instalation of PHP + * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation of MySQL + * PHP 5.6.* - See: [[howto/PHP]] for instructions on installation of PHP Simplified sequence: -Install Apache -Install MySQL -Install PHP -Modify Apache Configuration to support MySQL and PHP. + * Install Apache + * Install MySQL + * Install PHP + * Modify Apache Configuration to support MySQL and PHP. = Integrate PHP with Apache = @@ -90,20 +90,17 @@ $ sudo port load apache2 }}} -= Step 4: Craete phpinfo = += Step 4: Create phpinfo = This is used to test the configuration after you have integrated it with Apache and MySQL. -Create a file named `phpinfo.php` that contains the following three lines +Create a file named `phpinfo.php` that contains the following two lines {{{ <?php phpinfo(); -?> }}} -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. -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`"). \\ +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. +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`"). \\ Note that this file needs to be readable and executable. * Remember to return to [[howto/PHP]] to complete the PHP installation. -------8<------8<------8<------8<------8<------8<------8<------8<-------- -- Page URL: <https://trac.macports.org/wiki/howto/MAMP> MacPorts <https://www.macports.org/> Ports system for OS X This is an automated message. Someone added your email address to be notified of changes on 'howto/MAMP' page. If it was not you, please report to .