NYCPHP Meetup

NYPHP.org

[nycphp-talk] AMD64 phpMyAdmin with PHP 5

Mark Horton mark at nostromo.net
Sun Dec 26 13:38:38 EST 2004


John Lacey wrote:
> Mark Horton wrote:
> 
>> Is anyone using phpMyAdmin on AMD64 with PHP 5?  I'm getting segfaults 
>> when I try to use "mysqli".  If I switch to just "mysql" then it works 
>> fine.  However, I'm using mysql 4.1.8 and would like to use mysqli.
>>
>> Just curious if I'm doing something wrong or if others are having the 
>> same issue.
>>
>> Versions I'm using:
>>
>> PHP 5.0.3
>> MYSQL 4.1.8
>> Apache 2.0.52
>> phpMyAdmin 2.6.0-pl3
>>
> 
> 
> have you taken a look at the config file for the mysqli change?
> .
> .
> .
> 
> 
> $cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to 
> MySQL server ('tcp' or 'socket')
> $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL 
> extension to use ('mysql' or 'mysqli')
> $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed 
> protocol for the MySQL connection

Yep.  This is how I found out it segfaults.  If I change it to mysqli it 
doesn't work.  I'm going to see if I can duplicate the problem on a x86 
system.  This was I can tell if its actually 64bit related or not.

Mark



More information about the talk mailing list