搭建博客

1.PHP本地测试环境构建

http://caocaoshuo.com/2014/06/08/常用的php本地测试环境构建软件.html

http://jingyan.baidu.com/article/c910274b28e92dcd371d2d74.html
http://tieba.baidu.com/p/2168337341
http://cs.moonseo.net/archives/381.html
http://dungenessbin.diandian.com/post/2012-12-10/40047262956
我是安装xampp的,安装完以后再浏览器输入:localhost/phpmyadmin 就可以看到一定的
PHP软件我用的是ZendStudio:http://www.zendstudio.net/zend-studio-all-in-one-download/

安装过程中问题1:安装后启动Tomcat经常会出现下述错误,这是我们只要多启动几次就可以解决了。
21:42:25  [Tomcat]Error: Tomcat shutdown unexpectedly.
21:42:25  [Tomcat] This may be due to a blocked port, missing dependencies, 
21:42:25  [Tomcat] improper privileges, a crash, or a shutdown by another method.
21:42:25  [Tomcat] Press the Logs button to view error logs and check
21:42:25  [Tomcat] the Windows Event Viewer for more clues
21:42:25  [Tomcat] If you need more help, copy and post this
21:42:25  [Tomcat] entire log window on the forums
21:42:25  [Tomcat] Tomcat Started/Stopped with errors, return code: -1073741510
21:42:25  [Tomcat] Make sure you have Java JDK or JRE installed and the required ports are free
21:42:25  [Tomcat] Check the "/xampp/tomcat/logs" folder for more information

安装过程中问题2:xampp后apache不能启动解决方法
如果是因为端口冲突,解决方法:打开目录C:\xampp\apache\conf(我的安装目录为C:\xampp)下的httpd.conf文件,将Listen 80和 ServerName localhost:80中的80改为8081或其它值(尽量不要使用0-1023端口,这个是系统保留端口),要保持一致。

你可能感兴趣的:(xampp,个人博客,独立博客,网站搭建,PHP本地测试环境)