Mac Install Notes: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 17: Line 17:
*MDB2
*MDB2
**~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli
**~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli
memcached:
*need xcode: https://developer.apple.com/downloads/index.action?name=Xcode
*follow http://tugdualgrall.blogspot.com/2011/11/installing-memcached-on-mac-os-x-and.html
apache:
apache:
*the equivalent of /var/www is /Library/WebServer/Documents/  
*the equivalent of /var/www is /Library/WebServer/Documents/  

Revision as of 12:53, 27 July 2012

/private/etc is used instead of /etc

  • install mysql
    • sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    • .bashrc add
      • alias mysql=/usr/local/mysql/bin/mysql
      • alias mysqladmin=/usr/local/mysql/bin/mysqladmin
  • install bzr
  • sudo cp /private/etc/php.ini.default /private/etc/php.ini
  • sudo chmod 644 /private/etc/php.ini
  • sudo emacs -nw /private/etc/php.ini
    • date.timezone = 'Eastern/US'
  • PHP
    • in /private/etc/apache2/httpd.conf uncomment the line: LoadModule php5_module libexec/apache2/libphp5.so
  • PEAR
  • MDB2
    • ~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli

memcached:

apache:

  • the equivalent of /var/www is /Library/WebServer/Documents/
  • apachectl start

iHRIS:

  • config.values.php -- dsn needs 127.0.0.1 not localhost