在vista下安装wordpress环境遇到的问题

by hustcom on May.24, 2008, under site

 我使用的是vista ultimate版本,首先关闭了IIS的service,安装apache,比较顺利;

第二步安装mysql的时候,遇到了一个问题:在安装向导完成后,点击”finish”去”configure the MYSQL server now”的时候,不能弹出配置对话框。当时重装下一次,问题重现,然后google之,果然也有网友网友遇到了相似的问题,不过他们提供的是一个比较复杂的”馊”点子,这里就不再赘述。

我的解决方法很简单,直接以”administrator”身份去运行mysql的安装程序就可以了:

run mysql as administrator

另外,记得在windows firewall里打开mysql的3306端口。

第三步安装完php和设置完环境变量后,发现php不能访问mysql,后来发现是php.ini里关于php_mysqlextension没有开启,眼花了,开的是php_msql;

第四步是安装phpMyAdmin,登陆进PhpMyAdmin后,报错:“无法载入 mcrypt 扩展”。原因是在系统的 system32(C:\windows\system32) 目录下缺少 libmcrypt.dll文件,找到php目录下的libmcrypt.dll,并将libmcrypt.dll复制到C:\windows\system32目录中,然后重新启动Web服务,这样就搞定。

解决完这几个小问题后,环境就已经配置好了。最后设置apache和mysql的services为手动开启,毕竟只是测试用用.

 

:,
No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...