Status
Not open for further replies.

SaKIB

Active Member
598
2010
12
10
mysqli extension is missing

Hi i am trying to use phpmyadmin and i am getting this error. any help?

[SLIDE]http://lulzimg.com/i23/f66d22.jpg[/SLIDE]
 
4 comments
If you are runing your own vps/dedi change your php.ini and make sure you have the extension for mysqli.dll uncommented. There are others in the file which can be uncommented also.
953 extension=php_mysqli.dll
973 ;extension=php_mysqli_mysqlnd.dll
974 extension=php_mysqli_libmysql.dll
1264 [MySQLi]
1267 ; http://php.net/mysqli.max-persistent
1268 mysqli.max_persistent = -1
1271 ; http://php.net/mysqli.allow_local_infile
1272 mysqli.allow_local_infile = On
1275 ; http://php.net/mysqli.allow-persistent
1276 mysqli.allow_persistent = On
1279 ; http://php.net/mysqli.max-links
1280 mysqli.max_links = -1
1283 ; http://php.net/mysqli.cache_size
1284 mysqli.cache_size = 2000
1286 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1290 ; http://php.net/mysqli.default-port
1291 mysqli.default_port = 3306
1295 ; http://php.net/mysqli.default-socket
1296 mysqli.default_socket = "MySQL"
1299 ; http://php.net/mysqli.default-host
1300 mysqli.default_host =
1303 ; http://php.net/mysqli.default-user
1304 mysqli.default_user =
1306 ; Default password for mysqli_connect() (doesn't apply in safe mode).
1308 ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1311 ; http://php.net/mysqli.default-pw
1312 mysqli.default_pw =
1315 mysqli.reconnect = Off
 
Using a vps linux . i was trying to install php my admin . first it asked for php5 , after installing that it asked for this
 
On a plain VPS use yum to install the mysqli module

yum install php-mysql
yum install php-mysqli
You have to restart the webserver for new modules to take affect.

On a cPanel server, use the 'easyapache' script that cpanel offers or use the WHM --> EasyApache option, to compile PHP with the mysqli module.
 
Status
Not open for further replies.
Back
Top