Windows7的WAMP 64位堆栈MySQL的问题 [英] Windows7 WAMP 64-bit stack MySQL problems

查看:224
本文介绍了Windows7的WAMP 64位堆栈MySQL的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过使用本指南在这里 - > http://www.elxis.org/guides /developers-guides/64bit-apache-php-mysql-windows.html

By using this guide here -> http://www.elxis.org/guides/developers-guides/64bit-apache-php-mysql-windows.html

和通过上来的错误和问题的黑客,我有一个Apache,PHP和MySQL栈几乎工作在Windows 7 - 所有64位。 PHP和Apache都工作得很好,和的phpinfo告诉我,MySQL的支持是启用的。

And hacking through the errors and issues that came up, I've got an apache, php, and MySQL stack almost working on Windows 7 - all 64 bit. PHP and apache are working just fine, and phpinfo tells me that mysql support is enabled.

现在,这里的问题。任何PHP脚本,实际的电话的MySQL的给了我一个连接重置的错误。

Now here's the problem. Any php script that actually calls MySQL gives me a "connection reset" error.

我试着关掉我的防火墙;它并没有区别。我试图把的libmysql和php_mysql副本在几个不同的地方,包括Apache \ bin和Windows \ System32下,都无济于事。

I've tried turning off my firewall; it made no difference. I've tried putting libmysql and php_mysql copies in a few different places, including apache\bin and Windows\system32, to no avail.

这是什么样的phpinfo告诉我:

This is what phpinfo tells me:

mysql
MySQL Support enabled
Active Persistent Links  0
Active Links  0
Client API version  5.1.44

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host localhost localhost
mysql.default_password no value no value
mysql.default_port 3306 3306
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

MySQL是上,并明确它的所感测的PHP;当我把它关掉,phpMyAdmin的球场一阵。当它的。但是,我尝试用phpmyadmin的登录,我得到一个连接重置错误:当网页被加载到服务器的连接被重置

MySQL is on, and clearly it's being sensed by php; when I turn it off, phpmyadmin pitches a fit. When it's on however, and I try logging in with phpmyadmin, I get a 'connection reset' error: The connection to the server was reset while the page was loading.

我的错误日志告诉我什么。虚无缥缈。拉链。只是服务已被打开或关闭,等等,等等。

My error logs are telling me nothing. Nada. Zip. Just that services have been turned on or off, etc., etc.

任何人都知道我能得到的phpMyAdmin和其他MySQL连接脚本工作?

Anybody know how I can get PHPmyadmin and other mysql connection scripts working??

推荐答案

PHP跨preters可用在32位和64位操作系统,但微软的Windows的唯一官方发行是一个32位实现,同时使用Internet信息服务(IIS)在64位Windows平台,需要在Windows 32位兼容模式。由于PHP 5.3.0的,实验性的64位版本可用于微软Windows。

http://wiki.php.net/internals/windows/releasenotes

现在的问题是有没有官方64位版本的Windows还没有,请尝试32位版本,因为这应该解决您的问题。

The problem is there is no Official 64 Bit version for Windows yet, try the 32 bit version as this should solve your problem.

这篇关于Windows7的WAMP 64位堆栈MySQL的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆