Announcement

#1 2020-08-11 19:08:58

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Php upgrade from 7.1

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

 

#2 2020-08-11 20:53:27

Zentalquabula
Member
2014-05-10
217

Re: Php upgrade from 7.1

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

 

#3 2020-08-11 21:58:30

executive
Member
2017-08-16
1214

Re: Php upgrade from 7.1

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

 

#4 2020-08-11 22:10:50

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: Php upgrade from 7.1

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

 

#5 2020-08-27 20:57:30

dewluca
Member
2015-05-26
10

Re: Php upgrade from 7.1

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

 

#6 2020-08-28 00:48:45

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: Php upgrade from 7.1

Hi Luca!

From PHP 7.1.33 to 7.4

It went smooth and easy...
:-)

Good luck!

Greetings

Tamas

Offline

 

#7 2020-08-28 02:21:33

dewluca
Member
2015-05-26
10

Re: Php upgrade from 7.1

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

 

#8 2020-08-28 06:31:24

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: Php upgrade from 7.1

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

 

#9 2020-08-28 13:49:32

eliz82
Member
Romania
2016-04-27
281

Re: Php upgrade from 7.1

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

 

#10 2020-08-31 14:34:14

Zentalquabula
Member
2014-05-10
217

Re: Php upgrade from 7.1

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact