coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: murphy2 on October 22, 2005, 10:54:49 AM

Title: PHP does not have MySQL support enabled
Post by: murphy2 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?
Title: Re: PHP does not have MySQL support enabled
Post by: kegobeer on October 22, 2005, 01:58:50 PM
MySQLi is not MySQL.  You must compile PHP with MySQL support.
Title: Re: PHP does not have MySQL support enabled
Post by: Aikidoka 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.