PHP: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
yum-config-manager --enable remi-php73 | yum-config-manager --enable remi-php73 | ||
sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php- | sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql php-xml | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 22:49, 29 March 2021
Overview
Get Version
php -v
Installation
Generic
yum install php php-mysql php-gd php-xml
Note
- The PHP installation command assumes we are going to use MySQL (or MariaDB). Update accordingly if using a different database.
Installing PHP 7.3 on Centos 7
yum-config-manager --enable remi-php73
sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql php-xml
Upgrade
TODO
Centos 7 and PHP 7.3.19 note, manual installation: https://linuxize.com/post/install-php-7-on-centos-7/ Link to