cd /opt/local/apache2/bin
sudo ./apachectl -k stop
sudo port upgrade sqlite3
sudo port install mysql5
or
sudo port upgrade mysql5
sudo -u mysql mysql_install_db5 '初期化
sudo /opt/local/lib/mysql5/bin/mysqld_safe & '起動確認
mysql5 -u root '接続確認
/opt/local/lib/mysql5/bin/mysqladmin -u root password 'xxxxx' 'パスワード設定
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist '自動起動設定
sudo port unintall php5
sudo port -d install php5 +apache2 +macosx +mysql5 +pear +postgresql83 +sockets +sqlite3 +curl +gd
sudo ./apachectl -k start
0 件のコメント:
コメントを投稿