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/10/13 20:26] juckinscentos_php7.4_upgrade [2022/12/20 17:53] (current) juckins
Line 4: Line 4:
  
 https://www.tecmint.com/install-php-on-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__ __CentOS 7__
Line 10: Line 16:
  
 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.1602635171.txt.gz · Last modified: 2020/10/13 20:26 by juckins