Support > cpg1.5 install

PHP does not have MySQL support enabled - PHP 7's fault?

(1/1)

Pockett:
Hello,

My website recently had to move web hosts, but my new host uses only PHP 7. I tried installing, but I receive an error message: "PHP does not have MySQL support enabled". Am I right in believing this is due to PHP 7?

Since the topics I've seen seem to be old, is there any way to get it working on PHP 7 yet if that's the case? I do still have the original database and image folders, but I'm not sure right now if I'll even be able to use them.

Thanks.

ron4mac:
http://forum.coppermine-gallery.net/index.php/topic,79013.0.html

Oppie:
The reason people are getting that message, is because you guys are not using MySQLi to access databases.  You should check for version of php and act accordingly.  MySQLi is the current way to connect to the database instead of MySQL_Connect.

**** link removed ****

For examples on how to use MySQLi.  More and more hosts are switching to PHP7 and that is what they use.

phill104:
What do you mean “ You Guys”

If you are talking Coppermine in general then there is an updated version that uses mysqli and php7. So no need  to post a link. As suck I have removed the link you added.

Navigation

[0] Message Index

Go to full version