是以为记,当前OSX下的Apache+PHP配置。我的配置跟这篇文章应该一样:http://www.ccvita.com/398.html
Apache重启: apachectl restart|start|stop
Apache配置文件: /etc/apache2/httpd.conf (php5在这里开启)
Apache虚拟主机配置文件: /etc/apache2/extra/httpd-vhost.conf
Apache日志(access.log和error.log): /tmp/httpd_logs/ (配置在httpd-vhost.conf中)
PHP配置文件: /etc/php.ini (~/php.ini.bak是备份)。并开启了php error log,位于/tmp/php_errors.log
http://adspot/info.php 看配置
另外用log4php进行记录