Changes between Version 44 and Version 45 of howto/MAMP


Ignore:
Timestamp:
Sep 4, 2009, 10:40:50 AM (15 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

update for php 5.3.0 and separate php5-mysql port

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v44 v45  
    1212 * Apache 2.2.*
    1313 * MySQL 5.0.*
    14  * PHP 5.2.*
     14 * PHP 5.3.*
    1515
    1616== Installation ==
     
    164164
    165165{{{
    166 sudo port install php5 +apache2 +mysql5
    167 }}}
     166sudo port install php5 +apache2
     167sudo 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.
    168171
    169172Register PHP with Apache
     
    236239}}}
    237240
    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.8 as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`").
     241and 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`").
    239242
    240243As a last check, reboot and verify that everything has autostarted and is running (i.e., repeat the above tests).