2

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.

12
  • 1
    What does it seems to be "unlocked". mean?
    – thinice
    Dec 2, 2011 at 17:26
  • Can you provide the output of php -m ?
    – thinice
    Dec 2, 2011 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...) Dec 2, 2011 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, 2011 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? Dec 2, 2011 at 17:45

1 Answer 1

1

Install php5-mysql and restart apache. See why

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .