问题描述
如果这不是发布此
问题的合适团体,请转移我。
我是一个Linux客户端试图通过
php连接到mysql windows服务器,在我的php脚本中点击mysql_connect行后,它只是
停止执行。换句话说,任何与它有关的东西,如回声
都不会在html源代码中结束。我不完全确定php脚本的内部工作原理,所以我无法解释为什么在mysql_connect出现之前echo命令
。但是,当mysql_connect行被注释掉时,它们显示为
罚款。是解析
问题吗?
命令行mysql连接工作正常。
phpinfo()给出正确的mysql信息。
apace error_log说*** glibc检测到***双免费或腐败
(!prev):0x08132138 ***
[太阳11月4日14:18:33 2007] [通知]儿童pid 2316退出信号已中止
(6)
任何想法如何去调试这个非常感谢。
谢谢,
Farhan
Hi,
Please divert me if this is not the right group to be posting this
question.
I am a Linux client trying to connect to a mysql windows server via
php, upon hitting the mysql_connect line in my php script, it simply
stops executing. In other words anything or''ed with it, like echo
does not end up in the html source. I''m not entirely sure on the
inner workings of php scripting so I can''t explain why echo commands
before the mysql_connect don''t show up either. However, they appear
fine when the mysql_connect line is commented out. Is it a parsing
issue?
Command line mysql connection works just fine.
phpinfo() gives correct mysql info.
apace error_log says *** glibc detected *** double free or corruption
(!prev): 0x08132138 ***
[Sun Nov 4 14:18:33 2007] [notice] child pid 2316 exit signal Aborted
(6)
Any ideas of how to go about debugging this much appreciated.
Thanks,
Farhan
推荐答案
假设您在Apache下运行PHP作为模块,PHP有
dumped core。这是一个严重的错误(在PHP,Apache,或者很可能是MySQL客户端库中的
)。
Assuming you have PHP running under Apache as a module, PHP has
dumped core. This is a serious error somewhere (in PHP, Apache, or
the MySQL client library, most likely).
您可能会尝试隔离导致问题的原因(例如,如果您尝试使用不正确的密码,它还会爆炸吗?)但是调试
PHP如果你不熟悉PHP源代码,那就不容易了。
也许你可以尝试重新安装PHP,所有扩展和MySQL
客户端库。
You might try isolating what causes the problem (for instance, does it
still blow up if you try using an incorrect password?) but debugging
PHP isn''t going to be easy if you aren''t familiar with PHP source code.
Perhaps you could try reinstalling PHP, all the extensions, and the MySQL
client library.
这是:
<?php
Here it is:
<?php
这篇关于mysql_connect通过php停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!