Changes between Version 44 and Version 45 of howto/MAMP
- Timestamp:
- Sep 4, 2009, 10:40:50 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v44 v45 12 12 * Apache 2.2.* 13 13 * MySQL 5.0.* 14 * PHP 5. 2.*14 * PHP 5.3.* 15 15 16 16 == Installation == … … 164 164 165 165 {{{ 166 sudo port install php5 +apache2 +mysql5 167 }}} 166 sudo port install php5 +apache2 167 sudo port install php5-mysql5 168 }}} 169 170 '''''Note:''''' php5 contains the core PHP features, but there are many optional features available in separate ports, some of which you may want to install as well (such as MySQL support via the php5-mysql port). Use `port search php5` to see all the options that are available. 168 171 169 172 Register PHP with Apache … … 236 239 }}} 237 240 238 and place it in your Apache "`DocumentRoot`" directory (should be "`/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 if applicable) and verify that the correct version of PHP is active (v5. 2.8as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`").241 and place it in your Apache "`DocumentRoot`" directory (should be "`/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 if applicable) and verify that the correct version of PHP is active (v5.3.0 as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`"). 239 242 240 243 As a last check, reboot and verify that everything has autostarted and is running (i.e., repeat the above tests).