Xenforo 2.1.8 Patch 2 and PHP 7.4.5 with fix for JPEG support

djbaxter

Well-known member
The latest version of PHP 7.4.5 for cPanel was released today with a fix for the missing JPEG support bug.

I have now upgraded 4 forums from 7.3.x to 7.4.5. All is running smoothly. No errors. No issues with any of the addons used on those forums.

Followed this procedure for upgrading CENTOS 7.7 v86.0.18 servers with WHM/cPanel:

1. Make a checklist of all the settings and modules you use for 7.3.x before anything else.

2. Run Update Server Software from WHM.

3. Run EasyApache from WHM/cPanel to add 7.4.5 as an option with all the appropriate modules and settings matching those of 7.3.

4. Now add Imagick and enable it for PHP 4.7.5 - I did this last part via terminal - run them all to be sure but the first three may quite probably finish with "nothing to do" if you had everything running properly with PHP 7.3.x:
Code:
# yum install php-pear php-devel gcc
# yum install ImageMagick ImageMagick-devel ImageMagick-perl pcre-devel
# /opt/cpanel/ea-php74/root/usr/bin/pecl channel-update pecl.php.net
# /opt/cpanel/ea-php74/root/usr/bin/pecl install imagick
5. Now restart Apache from WHM and you're done.
 
Last edited:

gerryvz

Well-known member
I can concur that 7.4.5 has been out since ~April 16th.

I updated from 7.4.4-1 to 7.4.5-1 on April 19th, when it became available via Linode's ppa's.

I keep a private/admin thread that shows when I update specific software that underpins my site.
Screen Shot 2020-04-24 at 7.27.31 AM.jpg
 

djbaxter

Well-known member
I think that was released 10 days ago.
https://www.php.net/ChangeLog-7.php#7.4.5
Fairly sure that is for cpanel's php 7.4 distro, which lacks jpeg support for some reason
I can concur that 7.4.5 has been out since ~April 16th.

I updated from 7.4.4-1 to 7.4.5-1 on April 19th, when it became available via Linode's ppa's.

I keep a private/admin thread that shows when I update specific software that underpins my site.
View attachment 223243

No. See:


The cPanel version with the JPEG bug fixed was just released yesterday afternoon, April 23, 2020.
 
  • Like
Reactions: rdn

eva2000

Well-known member
Fairly sure that is for cpanel's php 7.4 distro, which lacks jpeg support for some reason
yeah seems to be specific to cpanel.

My Centmin Mod LEMP stack's PHP 7.4.5 on CentOS 7
Bash:
php -v
PHP 7.4.5 (cli) (built: Apr 16 2020 10:11:33) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies
Bash:
php --ri gd

gd

GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.0
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.5.13
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1
 
  • Like
Reactions: Xon

djbaxter

Well-known member
It's not an issue with cPanel anymore since they released the fix April 24. That was the whole point of this thread.

Bash:
[root@server ~]# php --ri gd

gd

GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.0
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.5.13
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
WebP Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1
[root@server ~]#
 
Top