Die2mrw007 Posted May 20, 2020 Posted May 20, 2020 I changed my PHP version to 7.4 and my current IPS version is 4.4.6. Do this version supports PHP 7.4? What are the drawbacks of upgrading to PHP 7.4 with my current IPS version? What things will break?
bfarber Posted May 20, 2020 Posted May 20, 2020 If I recall correctly, PHP 7.4 is not fully supported until our 4.5 version is released. Rhett 1
Die2mrw007 Posted May 20, 2020 Author Posted May 20, 2020 Currently everything seems working fine for me with PHP 7.4 as of now. I upgraded to 7.4 yesterday itself. Also changed my forum from http to https. Currently experiencing user profile picture broken as its still loading from http link
McAtze Posted May 20, 2020 Posted May 20, 2020 I use IPS 4.4.10 with php7.4.6 without any problems. 🤓 sobrenome and IP-Gamers 2
sobrenome Posted August 29, 2020 Posted August 29, 2020 The only problem I have noticed so far is that the upload limit is 7MB, even if I set higher values in php config file.
bfarber Posted August 31, 2020 Posted August 31, 2020 You need to check other options, such as the post_max_size limit. sobrenome 1
rfcontreras Posted September 14, 2020 Posted September 14, 2020 Is there any advantage using php 7.4 ? sobrenome 1
sobrenome Posted September 15, 2020 Posted September 15, 2020 On 8/31/2020 at 10:42 AM, bfarber said: You need to check other options, such as the post_max_size limit. Yes, it is set to 8MB. And max_file_uploads set to 20.
bfarber Posted September 15, 2020 Posted September 15, 2020 On 8/28/2020 at 8:38 PM, sobrenome said: The only problem I have noticed so far is that the upload limit is 7MB, even if I set higher values in php config file. The behavior has changed in 4.5 as uploading supports chunking now. This was how 4.4.x handled the max size. $potentialValues = array(); if( (float) ini_get('upload_max_filesize') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('upload_max_filesize') ); } if( (float) ini_get('post_max_size') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('post_max_size') ) - 1048576; } if( (float) ini_get('memory_limit') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('memory_limit') ); } $this->maxChunkSize = min( $potentialValues ) / 1048576; sobrenome 1
sobrenome Posted September 16, 2020 Posted September 16, 2020 Great! Just waiting Mail Bouncer to upgrade to 4.5! Will Gallery have the same benefit?
sadams101 Posted July 13, 2021 Posted July 13, 2021 (edited) I tried switching my site to use PHP 7.4 in cPanel but got 500 server errors. Strangely, it worked fine on my test site on the same server, but there is no load or traffic on the test site. Any ideas about what could be the issue? Does anyone know what PHP.INI settings I should use for things like memory_limit , post_max_size, etc? PS - I'm using Invision Community v4.5.4.2 Edited July 13, 2021 by sadams101 sobrenome 1
sadams101 Posted July 19, 2021 Posted July 19, 2021 (edited) I got it going, finally, on PHP 7.4. The issue I had is that Redis was not properly set up for PHP 7.4, which caused the 500 server errors. Once I fixed that, it switched over without issues. Edited July 20, 2021 by sadams101 sobrenome 1
Recommended Posts