Re: Installed php 7.1.33 but how to integrate it with Apache?

Richard <[email protected]> Sat, 09 Oct 2021 22:59:58 +0000
Newsgroups gmane.comp.php.install
Message-ID <[email protected]>

------------ Original Message ------------
> Date: Saturday, October 09, 2021 22:45:30 +0000
> From: ohaya via php-install <[email protected]>

>  These are what I was trying (from the RHEL info from the page you
> linked, but for PHP 7.1 (rather than 7.2)):
> 
> he steps are as follows to enable and install PHP 7.2 on RHEL 7
> using yum command: $ sudo yum install
> https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.
> rpm $ sudo yum install
> http://rpms.remirepo.net/enterprise/remi-release-7.rpm $ sudo yum
> install yum-utils
> $ sudo subscription-manager repos
> --enable=rhel-7-server-optional-rpms $ sudo yum-config-manager
> --enable remi-php72
> $ sudo yum update
> $ sudo yum search php72 | more
> $ sudo yum install php72 php72-php-fpm php72-php-gd php72-php-json
> php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc
> php72-php-opcache
> 
> I first run into that error at the "yum install yum-utils" step.
> 

You have to register your RHEL system with the Redhat entitlement
server in order to be able to use the rhel repository that you
installed. Not doing that is causing the "Forbidden" error and things
not getting installed properly.

>From an early message of yours:

  This system is not registered with an entitlement server. You
  can use subscription-manager to register.

Start by dealing with that issue.


Do *NOT* include my direct email address in your replies.