I don't clear about this topic solution...I also use zenphoto in my PHP sites..I works on php 5.6.19...I was thinking about to work on PHP 7..then I see this question...I did not understand the solution...zenphoto is working on PHP7 or not....Somebuddy tell me about all of this
So for starters: Zenphoto has not yet been tested on PHP7 (it's new and hosts are not that fast updating stuff) but from all we know it should work without problems. According to Ganesh it does work so far. But we naturally cannot exclude if there might be any hidden issues somewhere.
ok thanks sbillard ... hope thats all syntax will be solved for the future use...I think zenphoto technical person think about the new version which is work on PHP7...because I have a new project which is based on PHP7
It is working under Php 7.0.4, but in the log file, i have some error messages as those one :
EXCEPTION (8192): Methods with the same name as their class will not be constructors in a future version of PHP; pagedthumbsOptions has a deprecated constructor in /home/users3/b/myname/www/myweb/zp-core/zp-extensions/paged_thumbs_nav.php on line 18
require_once called from setup_pluginOptions.php [21]
WARNING: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/users3/b/myname/www/myweb/zp-core/lib-GD.php on line 91
imagecreatefromjpeg called from zp_imageGet (lib-GD.php [91])
from cacheImage (functions-image.php [197])
from i.php [165]
EXCEPTION (8192) : Methods with the same name as their class will not be constructors in a future version of PHP; Googlemaps has a deprecated constructor dans /home/users3/b/myname/www/myweb/zp-core/zp-extensions/GoogleMap/CodeIgniter-Google-Maps-V3-API/Googlemaps.php à la ligne 16
require_once called from GoogleMap::js (GoogleMap.php [132])
from zp_apply_filter (functions-filter.php [149])
from include (inc_header.php [9])
from include (album.php [1])
from include (index.php [130])
from index.php [28]
I use zpArdoise and several extensions as GoogleMap.
The first is already fixed in the support build, the last one will be soon (it is a third party library we normally don't touch).
About the 2nd I am not sure this is really related to PHP 7 without research. That might also be just an issue with one image. Do you get that error frequently on certain images or always?
You will probably find the answer to the 2nd here:
http://www.zenphoto.org/news/problems-with-albums-and-images/