During install: PHP does not have MySQL support enabled. During install: PHP does not have MySQL support enabled.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

During install: PHP does not have MySQL support enabled.

Started by bluefan, April 08, 2006, 04:00:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bluefan

Hi everyone,

When I tried to install coppermine 1.4.4, I got this error:

The following errors were encountered and need to be corrected first:
PHP does not have MySQL support enabled.

This really looks strange, I installed php 5, and looking at info.php I see:
'--with-mysql=shared,/usr/nekoware/mysql4'
Which points to my mysql4 installation. And mysql works fine.
phpMyAdmin handles mysql also fine, so it must be working, right? what can it be? I've got mysql, I've got php5, is there some other strange way those two don't see eachother? The configuration looks perfect.
I'm using Irix 6.5.22 as OS.

Nibbler

That message is triggered when the function mysql_connect does not exist and so Coppermine can't connect to the db. Maybe you have phpmyadmin set to use mysqli, which Coppermine does not yet support.

bluefan

I just checked, I installed mysql, not the mysqli.
Strange

EDIT: might be just a noob thing:
In the php.ini, I found Dynamic Extensions, and mysql was commented out.
Would this be the problem? The configure command I found in info.php gave (also) this:
'--with-mysql=shared,/usr/nekoware/mysql4' '--with-mysqli=shared,/usr/nekoware/mysql4/bin/mysql_config'
Wouldn't that be enough?

Nibbler

Do you have a full section in phpinfo named 'MySQL' or can you only see it mentioned in the configure command ?

bluefan

Just the configure command.
Is that because the mysql is commented out in theĀ  Dynamic Extensions section of php.ini?

EDIT: Consider me a noob, outcommenting the mysql in php.ini was enough to get coppermine going, info.php gives now a mysql section, all is wel. Stil wondering about phpmyadmin, how it still got to mysql.