windows下Apache2.2,php5.3,mysql安装配置

admin 发表于 WEB 分类,标签: , ,
1

很久没有用php了,没想到变了很多的东西。详细的步骤看这个http://drupalchina.org/node/2688(老版本)本文只介绍需要变更的部分。

1.php5.3的变化

一共给了四个版本,VC9 x86 Non Thread Safe、VC9 x86 Thread Safe、VC6 x86 Non Thread Safe、VC6 x86 Thread Safe,

VC6 版本是使用 Visual Studio 6 编译器编译的,如果你的 PHP 是用 Apache 来架设的,那你就选择 VC6 版本。

VC9 版本是使用 Visual Studio 2008 编译器编译的,如果你的 PHP 是用 IIS 来架设的,那你就选择 VC9 版本。

这里要选“VC6 x86 Thread Safe”  php-5.3.1-Win32-VC6-x86.zip

2.mysql扩展

打开php.ini文件并找到;extension_dir=”./”,去掉前面的 ; 并修改为extension_dir=”d:/php5/ext”

找到 ;extension=php_mysql.dll 这一行,去掉前面的“;”,使PHP支持MySQL数据库

3.其他的没什么了,phpinfo里多了个mysqlnd,ms没什么用。


一篇评论 关于 “windows下Apache2.2,php5.3,mysql安装配置”

发表我的评论

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif 

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word