第一次配编译安装LAMP足足弄了两天,各种折腾。
参考http://www.lamphowto.com/,其他的可以看源码的README,或官方文档
其中让浏览器自动提示语法错误的方法是改php.ini:
装好后打开网页:
localhost/index.html居然显示:
The requested URL /index.html was not found on this server.
后面将/apache2/htdocs的目录改为/var/www才OK(具体原因暂时不清楚)