How to Install PHP 7.3 in CentOS 7

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

23 Responses

  1. Estellise says:

    When running command : yum-config-manager --enable remi-php70

    this results, is this okay?

    ================================= repo: remi-php72 ==================================
    [remi-php72]
    async = True
    bandwidth = 0
    base_persistdir = /var/lib/yum/repos/x86_64/latest
    baseurl = 
    cache = 0
    cachedir = /var/cache/yum/x86_64/latest/remi-php72
    check_config_file_age = True
    compare_providers_priority = 80
    cost = 1000
    deltarpm_metadata_percentage = 100
    deltarpm_percentage = 
    enabled = True
    enablegroups = True
    exclude = 
    failovermethod = priority
    ftp_disable_epsv = False
    gpgcadir = /var/lib/yum/repos/x86_64/latest/remi-php72/gpgcadir
    gpgcakey = 
    gpgcheck = True
    gpgdir = /var/lib/yum/repos/x86_64/latest/remi-php72/gpgdir
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    hdrdir = /var/cache/yum/x86_64/latest/remi-php72/headers
    http_caching = all
    includepkgs = 
    ip_resolve = 
    keepalive = True
    keepcache = False
    mddownloadpolicy = sqlite
    mdpolicy = group:small
    mediaid = 
    metadata_expire = 21600
    metadata_expire_filter = read-only:present
    metalink = 
    minrate = 0
    mirrorlist = http://cdn.remirepo.net/enterprise/7/php72/mirror
    mirrorlist_expire = 86400
    name = Remi's PHP 7.2 RPM repository for Enterprise Linux 7 - x86_64
    old_base_cache_dir = 
    password = 
    persistdir = /var/lib/yum/repos/x86_64/latest/remi-php72
    pkgdir = /var/cache/yum/x86_64/latest/remi-php72/packages
    priority = 99
    proxy = False
    proxy_dict = 
    proxy_password = 
    proxy_username = 
    repo_gpgcheck = False
    report_instanceid = False
    retries = 3
    skip_if_unavailable = False
    ssl_check_cert_permissions = True
    sslcacert = 
    sslclientcert = 
    sslclientkey = 
    sslverify = True
    throttle = 0
    timeout = 5.0
    ui_id = remi-php72
    ui_repoid_vars = releasever,
       basearch
    username =
    
  2. Ganesh says:

    Hey, how to Remove the PHP installed by this tutorial, I used this tutorial to install PHP 7.2 and now I wanted to remove it, It Not showing in Package On in ->

    $ which php
    /usr/local/bin/php
    
    $ whereis php
    php: /usr/bin/php /usr/lib/php /usr/local/bin/php 
    

    What is the Solution ?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.