Reply to Re: mysql_connect stops via php

Your name:

Reply:


Posted by Gordon Burditt on 11/04/07 19:36

>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?

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).

>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)

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация