Jump to content

Featured Replies

Posted

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?

If I recall correctly, PHP 7.4 is not fully supported until our 4.5 version is released.

  • Author

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

  • 3 months later...

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.

You need to check other options, such as the post_max_size limit.

  • 2 weeks later...
 

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.

 

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;

 

Great! Just waiting Mail Bouncer to upgrade to 4.5!

Will Gallery have the same benefit?

  • 9 months later...

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 by sadams101

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 by sadams101

Recently Browsing 0

  • No registered users viewing this page.