Mac Install Notes: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/private/etc is used instead of /etc | |||
*install mysql | *install mysql | ||
**sudo /Library/StartupItems/MySQLCOM/MySQLCOM start | **sudo /Library/StartupItems/MySQLCOM/MySQLCOM start | ||
Line 14: | Line 15: | ||
*MDB2 | *MDB2 | ||
**~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli | **~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli | ||
apache: | |||
*the equivalent of /var/www is /Library/WebServer/Documents/ | |||
iHRIS: | iHRIS: | ||
*config.values.php -- dsn needs 127.0.0.1 not localhost | *config.values.php -- dsn needs 127.0.0.1 not localhost |
Revision as of 22:36, 26 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'
- PEAR
- curl http://pear.php.net/go-pear.phar > ~/Desktop/go-pear.phar
- sudo php ~/Desktop/go-pear.phar
- MDB2
- ~/pear/bin/pear install MDB2 MDB2_Driver_mysql MDB2_Driver_mysqli
apache:
- the equivalent of /var/www is /Library/WebServer/Documents/
iHRIS:
- config.values.php -- dsn needs 127.0.0.1 not localhost