Setting your Apache2 and PHP5 after upgrading Leopard
After upgrading Leopard (not clean install), I could not browse my local web server. Then I have decided to set Apache2 and PHP5 as follows.
- Copy the old config file to the new directory for Apache2.
sudo cp /etc/httpd/users/{user_name}.conf /etc/apache2/users/{user_name}.conf - Comment out this line in /etc/apache2/httpd.conf to enable PHP5.
#LoadModule php5_module libexec/apache2/libphp5.so - Restart Apache.
sudo apachectl restart
That’s it. Now, my only question is whether or not I should change the group name in my home directory. On Tiger, the group name is same as the owner name, but it has changed to “staff” (like past OS X Server system) on Leopard.
個人事業主のウェブとiOSアプリ開発者で一児の父親。JavaScript, ActionScript, AppleScript, PHP, SQL, ObjCの読書実行試験運用管理を生業とし、BIND, SMTP, APACHE を FreeBSD, MacBSD, Mac OS X で使い、エディタは Vi, mi, Kod と遷移して現在は Smultron、そして Coda と Xcode の IDE を重用しています。作業の自動化や効率化の導入を応援しています。
P.S. 制作履歴はLinkedInの公開プロフィールをご覧ください。