標籤:demo code htm csdn exe http options class conf
1 wamp部署使用wamp2.4以下版本。
2.4版本內建的php5.4以上底層變化,phpcms運行不了。
2.2版內建的php5.3.10可以相容。
2 安裝配置時,盡量為每個網站配置(http.conf中網站配置)日誌寫入,通過日誌判斷訪問故障。
apache也有自己的錯誤記錄檔,記錄的是整個伺服器的日誌。
3 apache網站配置
//apache2.2配置(與2.4有區別)<VirtualHost *:80> ServerName fdipzone.demo.com DocumentRoot "/home/fdipzone/sites/www" DirectoryIndex index.html index.php <Directory "/home/fdipzone/sites/www"> Options -Indexes +FollowSymlinks AllowOverride All Order deny,allow Allow from all </Directory> </VirtualHost> //apache2.4+配置<VirtualHost *:80> ServerName fdipzone.demo.com DocumentRoot "/home/fdipzone/sites/www" DirectoryIndex index.html index.php <Directory "/home/fdipzone/sites/www"> Options -Indexes +FollowSymlinks AllowOverride All Require all granted </Directory> </VirtualHost>
錯誤1:client denied by server configuration錯誤解決方案
http://blog.csdn.net/fdipzone/article/details/40512229
phpcms網站部署