Trying to install ZenPhoto for a new client a few days ago I got the error message:
Required PHP version greater than equal to 5.4.0 AND found version is : 5.3.28
In checking with my ISP & am told:
"we are not able to successfully compile newer versions of PHP at this time. As your server is currently a 32-bit based CentOS 5.x server, we recommend that we migrate your VPS to a newer 64-bit based CentOS 6.x environment. The process will involve migrating your cPanel accounts to the new VPS server, and will involve a hostname and IP change. Also, any changes made as root, or custom software/configuration will need to be re-done on the new server."
The simplest solution I can see is install an earlier version of ZenPhoto, which will be compatible with my current version of PHP 5.3x as I cannot afford to migrate at the moment. Where can I get an earlier version to fit?
Comments
Were you able to finish setup at all?
No I was not. Each attempt ended with the above error message and stalled. I was installing through Softaculous. Would there be a difference if i installed eveything manually?
http://www.zenphoto.org/news/installation-and-upgrading
Although I think Softalacous generally quickly updates the versions they install, hosts with their implementation do not. Anyway, that is something the installers/hosts have to get right.
I think they might still be offering 1.4.9 which accidentally had one PHP 5.4 only line. So the current release being 1.4.11 should work. You always find it here: http://www.zenphoto.org
There you also find a link to older versions.
Sometime you will need to upgrade your webspace. For everything below PHP 5.6 the support has already ended and PHP 7 has already been released. We primarily develop on PHP 5.6 although we don't do specific 5.6 currently things so 5.2+ should work. But that may change naturally.
I really recommend installing Zenphoto manually.
"The system version of PHP installed on your server is 5.3.28. However, cPanel (and also Softaculous) use their own separate installation of PHP, which is currently version 5.4.31.
If the software package in Softaculous is marked as requiring 5.4 or higher, then, short of modifying the package data for Softaculous, you wouldn't be able to install via their autoinstaller.
As you mentioned, your best bet is to install the software manually from the tarball they have provided."
So -- got instructions on intalling the tarball? Which version should I install?
Instructions on how to install can be found here:
Installation, Upgrading and Requirements
In a nutshell, Softaculous doesn't make a difference between a "warning" and a failure, and interprets both as a failure. So if you install Zenphoto manually, you'll get a *warning* that PHP 5.4 is better. If you install Zenphoto through Softaculous, it will *stop dead*, saying that your PHP version is incompatible. On the other hand, if I configure the server to use PHP 5.4 to 5.6, Softaculous will install Zenphoto perfectly.
What's the difference? Basically, with PHP 5.3, a couple of minor functions won't work. For instance, one of the upload methods (and I think the ELfinder) only work with PHP 5.4 and above. But the gallery itself – and the overwhelming majority of extensions – will work without problems.
******
By the way, if you really look for an older version, you will find it at the download page here:
http://www.zenphoto.org/news/older-versions-archive
But as the current version works with PHP 5.3, why bother with an older one? Unless you want to add bugs?
I would just like to say that I have been trying to install Zenphoto 1.4.12 like the starter of this thread and I have been getting the same error message via the same installer: Required PHP version greater than equal to 5.4.0 AND found version is : 5.3.28
My website host is Jaguar PC and I am not a technically minded person, but would a manual install of ZenPhoto 1.4.12 be better than beating my head against trying to use softaculous installer?????