Hello!
I have a rather large site with several thousands of images / videos, hosted at Dreamhost.
The PHP version (7.1.33) being used is getting old, I should upgrade.
My I just simple change to PHP 7.2 or even to 7.4 FastCGI?
Is it easy and safe?
Thanks!
Greetings
Tamas
from Budapest, Hungary
Piwigo 2.10.2
Operating system: Linux
PHP: 7.1.33 (Show info) [2020-08-11 09:59:08]
MySQL: 5.7.29-log [2020-08-11 09:59:08]
Graphics Library: ImageMagick 6.9.7-4
URL: http://family.lantdalok.hu/
Offline
It's easy and safe.
You should always upgrade to the latest and greatest PHP version, and you should always use PHP-FMP for best performance.
Offline
Yes it's safe. How easy it is depends on your hosting provider.
You may experience some bugs with certain plugins on 7.4
7.3 should work perfectly.
7.1 might sound old, but PHP versions stick around for a long time. 45% of the world still uses version 5.
Offline
Thanks Zentalquabula and Executive for the quick answers!
I highly appreciate your swift and useful help.
To change PHP version at Dreamhost is very easy, just one click.
it took some minutes (5-10) for the system to make the change... And it seems to WORK fine.
Thanks, again, to You, Guys and to the Piwigo Team!
Greetings
Tamas
Offline
Which PHP version did you upgrade to? (and which version of Piwigo are you running on it?)
I'm also on Dreamhost and got an email saying they would be shifting to 7.3 next week some time.
When I originally set up Piwigo it wouldn't work right in anything higher than php 7.1, so that's what I've been using. (I'm also due for a Piwigo update.)
Before I dive in and do all this long-delayed maintenance I want to be sure things will still work afterwards.
Thanks!
Offline
Hi Luca!
From PHP 7.1.33 to 7.4
It went smooth and easy...
:-)
Good luck!
Greetings
Tamas
Offline
Thanks!
I just:
(1) backed up my files and database
(2) updated Piwigo to 2.10.2
(3) updated php to 7.3 FastCGI at Dreamhost
All seemed to go "easy-peasy".
At first I didn't see any difference at all, but then I logged out and logged back in and saw the "new" Modus theme (I was using Bootstrap Default) . . . will need to figure out my new options there . . . but so far everything seems to be working fine. Many of my plugins got disabled, so I'll need to sort out which, if any are important anymore.
All in all things went smoothly.
It really helped to know someone else on Dreamhost had done this with no problems before I tried it.
Thanks so much!!
Offline
Hello dewluca!
Thanks for sharing the steps you followed.
I'm glad all worked fine.
Both Piwigo and Dreamhost are great stuff!
Congratulations!
Greetings
Tamas
Offline
I advise you the opposite @Zentalquabula said, never update to the last version. Some CMS software may be unprepared for this and generate errors or don't work. Use an older PHP version but preferably to have the latest update of the version, for example if you use 7.2 branch make sure you use latest version of 7.2 to have the latest security updates.
there haven't been significant gain in speeds from 7.0 to latest 7.4 . the true speed gain is when switching from 5.6 to 7.0 , the latest is almost twice as fast https://kinsta.com/blog/php-benchmarks/
Last edited by eliz82 (2020-08-29 19:40:05)
Offline
Then that CMS has no place in the market. CMS makers need to make sure they are forward compatible with upcoming versions of software they depend on.
Using old software is the number one reason sites are hacked and used in botnets.
eliz82 wrote:
Some CMS software may be unprepared for this and generate errors or don't work.
Offline