my favorite

2010/02/01

修改 Mac 內建的 php.ini

[原文轉載] http://foundationphp.com/tutorials/php_leopard.php


1. 複製 /private/etc/php.ini.default
cd /private/etc
sudo cp php.ini.default php.ini

2. 修改 default socket
line 761
mysql.default_socket = /opt/local/var/run/mysql5/mysqld.sock
改成自己mysql跑起來的socket即可

No comments:

BIO

Taipei, GuTing, Taiwan

huang47 | personal

huang47 | personal