Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just unpacked the latest phpMyAdmin into /var/www/html/phpMyAdmin and it is giving me "The mysqli extension is missing." - how do I install this? I'm on Centos. I checked php.ini and it seems to be "unlocked".

when I type in php -i |grep -i mysqli ... it looks to be enabled. Also this is PHP Version 5.3.8

php -m 

apc
ctype
curl
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mcrypt
memcache
mysql
mysqli
openssl
pcre
PDO
pdo_sqlite
posix
REflection
session
SimpleXML
soap
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

Thanks.

share|improve this question
1  
What does it seems to be "unlocked". mean? –  thinice Dec 2 '11 at 17:26
    
Can you provide the output of php -m ? –  thinice Dec 2 '11 at 17:27
    
"unlocked" - meant "uncommented", sorry! I'll edit my original post to include php -m (it shows mysqli in php -m but it doesn't show it in my phpinfo.php script...) –  user1062058 Dec 2 '11 at 17:28
    
Can you try a simple php script to confirm it's just PMA being goofy? <? mysqli_connect('host', 'user', 'pass'); ?> then php -f test.php and look for errors? –  thinice Dec 2 '11 at 17:36
    
I haven't set up the db yet so I can't do that, wouldn't my phpinfo.php script rule out that it's not installed? –  user1062058 Dec 2 '11 at 17:45
show 7 more comments

1 Answer

Install php5-mysql and restart apache. See why

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.