Advanced search  

News:

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

Pages: 1 [2]   Go Down

Author Topic: PHP7 / MySQLi / PDO support in Coppermine?  (Read 7348 times)

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Dev Team member
  • Coppermine frequent poster
  • ****
  • Country: us
  • Offline Offline
  • Posts: 482
Re: PHP7 / MySQLi / PDO support in Coppermine?
« Reply #20 on: December 10, 2016, 06:01:21 AM »

Error
Releases of CPG not found at Github

Any easy way to fix that or have things moved somewhere else now?
It is still in place and works okay in my test. Your setup may not have allow_url_fopen enabled in your PHP and the extension libcurl is also not loaded. One of these is required for the upgrader to be able to access the 1.6.01 release on Github.
Logged

BillR

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PHP7 / MySQLi / PDO support in Coppermine?
« Reply #21 on: December 10, 2016, 06:22:53 AM »

It's ok, It didn't take long to do it manually anyway - I dont use any modifications, so 1.6 works just fine. I guess tommorow I'll copy it into a php7 folder and see how that works.
  I can't thank you guys enough for all the work, coppermine has been my preferred gallery for as long as I can remember...10-12 years maybe?
- Bill
Logged

BillR

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PHP7 / MySQLi / PDO support in Coppermine?
« Reply #22 on: December 10, 2016, 07:48:32 AM »

Just a last little comment, works great on php7, I'm a happy camper :)
 Thanks again for the gallery work.
Logged

maxhasher

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: PHP7 / MySQLi / PDO support in Coppermine?
« Reply #23 on: January 11, 2017, 10:57:24 PM »

I managed to get 1.6 in upgraded and running. On first choice for login I made the mistake of selecting pdo:mysql and this added pdomysql in the onit as database option. This is not one of the paths. So I edited back yo mysqli and then everything was happy.
The cookie still registered as 1.5x though.. Excellent work there. But I should be OK with updating on the ISP. Which is recommending php7 for the longer term support.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.062 seconds with 20 queries.