Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php7.4_upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
centos_php7.4_upgrade [2020/01/23 16:55] juckinscentos_php7.4_upgrade [2022/12/20 17:53] (current) juckins
Line 1: Line 1:
-==== CentOS7 PHP 7.4 Upgrade ====+==== PHP 7.4 Upgrade for CentOS ==== 
 + 
 +__CentOS 8__ 
 + 
 +https://www.tecmint.com/install-php-on-centos-8/ 
 + 
 +Then install these packages: 
 +  dnf install php-gd php-ldap php-mysqlnd php-pecl-mcrypt php-pecl-zip 
 +   
 +Then remove these packages: 
 +  dnf remove php-fpm 
 + 
 +__CentOS 7__ 
 Use [[https://www.tecmint.com/install-php-7-in-centos-7/|this link]] but substitute in 7.4 for the desired release to activate. Use [[https://www.tecmint.com/install-php-7-in-centos-7/|this link]] but substitute in 7.4 for the desired release to activate.
  
 Look at [[https://blog.remirepo.net/post/2019/12/03/Install-PHP-7.4-on-CentOS-RHEL-or-Fedora|Remi's RPM repository]] blog Look at [[https://blog.remirepo.net/post/2019/12/03/Install-PHP-7.4-on-CentOS-RHEL-or-Fedora|Remi's RPM repository]] blog
 +
 +After the install, these PHP packages should be on the system:
 +  
 +  php-7.4.33-2.el7.remi.x86_64
 +  php-cli-7.4.33-2.el7.remi.x86_64
 +  php-common-7.4.33-2.el7.remi.x86_64
 +  php-json-7.4.33-2.el7.remi.x86_64
 +  php-mbstring-7.4.33-2.el7.remi.x86_64
 +  php-mysqlnd-7.4.33-2.el7.remi.x86_64
 +  php-pdo-7.4.33-2.el7.remi.x86_64
 +  php-pecl-mcrypt-1.0.5-1.el7.remi.7.4.x86_64
 +  php-sodium-7.4.33-2.el7.remi.x86_64
 +  php-xml-7.4.33-2.el7.remi.x86_64
  
 Remember to merge in local changes to /etc/php.ini Remember to merge in local changes to /etc/php.ini
centos_php7.4_upgrade.1579816505.txt.gz · Last modified: 2020/01/23 16:55 by juckins