Installing lighttpd
- # port install lighttpd
- configure lighttpd @ /opt/local/etc/lighttpd/lighttpd.conf (make a copy from default)
- # launchctl load (to start automatically)
# launchctl list to verify
# launchctl start/stop org.macports.lighttpd to START or STOP the server - Install PHP with fastcgi -- port install php5 +fastcgi (otherwise php-cgi is not compiled)
look under the lighttpd.conf for instruction to activate PHP for lighttpd.
ps. make sure mod_fastcgi is loaded (uncomment it!) - good time to add additional PHP5 ports, i.e. php5-mysql.
No comments:
Post a Comment