Advanced search  


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.

Pages: [1]   Go Down

Author Topic: CPG PHP7-compatible ??  (Read 8227 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
CPG PHP7-compatible ??
« on: March 30, 2017, 04:46:47 pm »

Recently I upgraded one of my servers from Ubuntu 14.04LTS to 16.04LTS. That included a system migration from PHP5.5 to PHP7.
From then on I could not start my CP Gallery but faced each time an error message about deprecated statements in the PHP code. I went into the code and fixed the first 5 or six usually from mysql_connect() to mysqli_connect() or alike but I could not find any indications how many further statements might need fixing. Maybe PHP7 requires a more or less complete redesign and test of the code. This may be a really major effort.
Is this effect of startup breakdown something special only in my machine setup ?  Are there any plans in the CPG teams to create a future PHP7 compatibility of the existing code base ? Is there a proven workaround to make CPG work from a second PHP5.5 set on this Ubuntu 16.04LTS software system ?
After so many years I would really miss my Coppermine photo gallery, on the other hand cannot delay OS updates indefinetly. :-) 


  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CPG PHP7-compatible ??
« Reply #1 on: March 30, 2017, 05:52:33 pm »



  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4884
Re: CPG PHP7-compatible ??
« Reply #2 on: March 30, 2017, 06:41:30 pm »

Many thanks to maxhasher for assisting with support here.

Just to add, the team is very small. We would love extra members but I am not sure how we can attract people. Things are progressing very slowly and with some superb work from Ron5mac there is a working PHP 7 version in beta test, details available in the aforementioned thread. I intend to open up the currently empty CPG version 6 forums very soon for bug reports, testing and so contributors can test and update available extensions.
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up

Page created in 0.016 seconds with 20 queries.