![]() I wish other OSs did this – they always seem to use the "PATH=$PATH:…" anti-pattern, which is another way of saying, "we have no idea what originally set this"…ĭuring the pear installation it's worth issuing "pear config-set php_ini /etc/php.ini" so that subsequent builds of pecl extensions can enable themselves. At least bash and zsh shells make use of this out of the box. Something I only noticed recently is that OS X 10.7 has a wonderfully sane way of setting the system path: add them to the /etc/paths file (in order), or create additional path files in /etc/paths.d, which are loaded in name order. PEAR_PackageFile->fromTgzFile() /Users/jcrawford/pear/share/pear/PEAR/PackageFile.php:474 PEAR_PackageFile->fromAnyFile() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:1606 PEAR_Downloader_Package->_fromUrl() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:263 ![]() PEAR_Downloader_Package->download() /Users/jcrawford/pear/share/pear/PEAR/Downloader.php:454 PEAR_Downloader->download() /Users/jcrawford/pear/share/pear/PEAR/Command/Install.php:661 PEAR_Command_Install->doInstall() /Users/jcrawford/pear/share/pear/PEAR/Command/Common.php:271 PEAR_Command_Common->run() /Users/jcrawford/pear/share/pear/pearcmd.php:305 Mysqladmin -u root password () /Users/jcrawford/pear/share/pear/pearcmd.php:0 (Note that we set EDITOR whilst we are here so that svn is happy!) Add /usr/local/mysql/bin to the path: vim ~/.bash_profile and add:Įxport PATH=~/bin:/usr/local/bin:/usr/local/mysql/bin:$PATHĪt top of file.Download the 64bit DMG version of MySQL 5.1.x (or 5.5.x) for OS X 10.6 from and install the pkg, the startup item and the pref pane.usr/localĮnsure that the following directories exist: This is how to set it up from a clean install of 10.7. With OS X 10.7, Apple continues to ship PHP 5.3 with PEAR, GD and PDO_MYSQL out of the box.
0 Comments
Leave a Reply. |