Differences
This shows you the differences between two versions of the page.
pear_modules_in_mamp [2011/06/21 11:19] |
pear_modules_in_mamp [2011/06/21 11:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Setting up PEAR Modules in MAMP ===== | ||
+ | Here's an example code for installing Mail and Mail_mime in MAMP | ||
+ | update ''/Applications/MAMP/conf/php5.3/php.ini'' line 405 to read: | ||
+ | |||
+ | <code> | ||
+ | include_path = ".:/Applications/MAMP/bin/php5/lib/php:/Applications/MAMP/bin/php5.3/lib/php" | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Then execute the following commands | ||
+ | <code bash> | ||
+ | /Applications/MAMP/bin/php5.3/bin/pear uninstall Mail | ||
+ | /Applications/MAMP/bin/php5.3/bin/pear uninstall Mail_mine | ||
+ | /Applications/MAMP/bin/php5.3/bin/pear install -a Mail | ||
+ | /Applications/MAMP/bin/php5.3/bin/pear install -a Mail_mine | ||
+ | </code> | ||
+ | |||
+ | Now, restart the MAMP servers and you're in! |