Apache 2 + MySQL 5 + PHP 5.3 + phpMyAdmin 3.5.4 installation script for Mac...
Based on the instructions provided by Gilles Fabio I’ve created a complete installation script to install Apache 2, MySQL 5, PHP 5.3 and phpMyAdmin 3.5.4 for Mac OS X using MacPorts. It’s important to...
View ArticleInstall and configure MongoDB and PHP driver with MacPorts
Installing and configuring MongoDB with MacPorts Installing MongoDB with MacPorts is as easy as running this command: $ sudo port install mongodb MongoDB uses /data/db as the default path for storing...
View ArticleUsing MacPorts php from command line
Some time ago I had installed Apache+MySQL using MacPorts in Mac OS X. It was all OK as long as I used the web browser to navigate thru the web pages, but as I runned PHP via CLI to execute Symfony2...
View ArticleUseful Apache 2 and MySQL 5 service aliases for MacPorts
Those are some aliases I use to start, stop and restart Apache 2 and MySQL on my MacPorts installation done with the installation script I made some time ago. You have to edit “~/.bash_profile” file...
View ArticleInstall Doctrine2 with PEAR in MacPorts
Run those commands: sudo /opt/local/bin/pear channel-discover pear.doctrine-project.org sudo /opt/local/bin/pear channel-discover pear.symfony.com sudo /opt/local/bin/pear install -a...
View ArticleInstall and activate xdebug in MacPorts
First install php5-xdebug: sudo port install php5-xdebug Then just add these in your php.ini (probably /opt/local/etc/php5/php.ini), but first verify the file path for zend_extension option: ; NOTE:...
View Article