Advanced search  

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]

Pages: [1]   Go Down

Author Topic: PHP does not have MySQL support enabled  (Read 5831 times)

0 Members and 1 Guest are viewing this topic.

murphy2

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
PHP does not have MySQL support enabled
« on: October 22, 2005, 10:54:49 am »

Hi
I get the message "PHP does not have MySQL support enabled". I have php 5.0.3 and on running phpinfo, SQLite shows. phpmyadmin works fine. I have contacted my  server techie people and they told me
"You need to create a php.ini file in /etc/httpd/conf/

And add these two lines:
Code:
extension_dir = /opt/php-5.0/lib/modules
extension=mysqli.so
Then type: updatewebserver "
I have done this, but I still get the error message.
Any thoughts?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: PHP does not have MySQL support enabled
« Reply #1 on: October 22, 2005, 01:58:50 pm »

MySQLi is not MySQL.  You must compile PHP with MySQL support.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Aikidoka

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
Re: PHP does not have MySQL support enabled
« Reply #2 on: November 15, 2005, 04:48:42 am »

If you want to use mysqli you will need to redo all the calls in coppermine to be their mysqli equivalent.  It's a little time consuming, but not impossible.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.