Jump to content

PHP 7.4 with IPS 4.4.6


Recommended Posts

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

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
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;

 

Link to comment
Share on other sites

  • 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
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...