[php-maint] Apache Segfaults on mysql_fetch_field()

Steve Redlich steve at redlicheng.com
Wed Oct 26 16:52:42 UTC 2005


I am running Debian Stable and manage to crash apache when installing 
WordPress into a user's webspace.

Commenting out a call to mysql_fetch_field() makes the crash go away.

http://www.phpdoc.info/commits/3720  shows what might be a fix for this 
problem  (PHP bug #31288)  Is this fix in Debian Stable?

Please let me know if I should be reporting this thru the bug system. I 
didn't want to report it there if it was already a known problem.

wiseburn:~# dpkg -l php4-mysql
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
||/ Name           Version        Description
ii  php4-mysql     4.3.10-16      MySQL module for php4

I will aslo be checking with WordPress to see if they need to call 
mysql_list_fields() before using mysql_fetch_field().

Steve Redlich

More information about the pkg-php-maint mailing list