Skip to content

Instantly share code, notes, and snippets.

@Gaubee
Last active December 30, 2015 13:49
Show Gist options
  • Save Gaubee/7838532 to your computer and use it in GitHub Desktop.
Save Gaubee/7838532 to your computer and use it in GitHub Desktop.
关于PHP开发环境安装

基础安装流程教程:Apache+php+mysql在windows下的安装与配置图解

到官方网站下载PHP安装包或者压缩包时,需要下载TS版本(线程安全),否则在配置Apache模块时会找不到 php5apache2_2.dll 这个模块文件,另外系统中需要有 Visual C++ 2008 SP1 ,一般电脑中都会有的,只是服务器上如果长期没更新可能就缺了这东西。

至于MySql的下载和安装,建议还是用MSI文件进行配置安装,Google mySQL installer就可以找到,ZIP程序包自然也可以,只是需要手动配置,得折腾时间,不过这些图形安装界面可能要依赖于.net Framework框架。一般服务器上是有的。

在安装ECSHOP时遇到了一些问题,上官看了一下,官方要求php版本最好是5.2(5~5.3),我上次下载安装的是5.3,官方网站已经把5.2以下的在下载页面中给刷下去了,找到相关的下载地址: 5.2.17 MSI文件 (推荐) 5.2.17 ZIP文件

不懂为什么,最新的MySQL(5.6)配置界面搞不来,安装完后也没有自动写入系统PATH,所以上国内网站找了一个5.0.96版本的用着。

php.ini 做出相应的修改

extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment