Mar 8, 2019
Comments Off on How to Install PHP 7.3 on CentOS

How to Install PHP 7.3 on CentOS

Written by

You will need access to root and all of five minutes to install PHP 7.3 on CentOS 7.x


Open a terminal as root and run the following commands.

rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm

Then run the following commands

yum install yum-utils
yum-config-manager --enable remi-php73
yum update
yum -y install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath 

After the install is complete, you can run

php -v
This will allow you to see the version installed

If you are running PHP-FPM then you will need to restart php-fpm service or if you are
running PHP as an Apache module, restart apache by issuing

systemctl restart httpd

Leave your vote

2 points
Upvote Downvote



Article Tags:
· ·
Article Categories:

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.