How to install PHP 7 on redhat 6.4 without internet

Latest response

How to install PHP 7 on redhat 6.4 without internet

Responses

Hi Mohamed,

On a machine with internet access search for the PHP packages you want to install and download them via the Red Hat Package
Browser
. Search for php7, in the search results, under Architectures click on X86_64. Copy the packages to your machine which
has no internet access ... open a terminal, change to the directory where the PHP RPM installation files are located and execute :
sudo yum install *.rpm Example : Download link for the rh-php71 package from the rhel-server-rhscl-7-rpms repository
Learn more about how to make use of the PHP 7 version on the Red Hat Developers portal -> Red Hat Software Collections ... :)

Regards,
Christian

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.