Topic: Upgrade PHP to 7.2 without internet
Hi Remi et al,
I am facing a tricky situation here. At work, my Linux box is running on RHEL 6.9, but does not have an internet connection (purely intranet). I also have a Windows desktop that is online.
The Linux box has PHP 5.3.3 installed, but I wish to upgrade it to PHP 7.2 (for use with Apache 2.2). I have already downloaded all the php72-php-* rpms that I want through the Windows machine, and I can install them on the Linux box, but it turns out that they are installed as php72, and does not directly replace the base php.
From what I gather, it seems possible to replace the base php by the following method:
1. Install epel-release and remi-release rpms
2. yum-config-manager --enable remi-php72
3. yum install php php-cli php-common ...
The problem is that this method requires an internet connection for my Linux box which I don't have.
What can I do to directly replace the base php with php72 in this situation? Is there any other workaround available?
Or, if this is not possible, how can I make Apache work with php72 if I install them as such?
Any help would be appreciated. Thank you.