Topic: php not found when installing 7.3.8 on centos 6.9

Hello, I'm attempting to install php 7.3 on centos 6.9. I followed the wizzard and didn't find any packages marked as upgraded when I ran "yum update". After that I removed php
using yum and attempted to install. Still nothing. Searching using "yum search php" shows no php or php73 packages.

Unfortunately I can't seem to post the following as code or a quote... not sure why.

Here is the output of "yum install php":
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.colorado.edu
* extras: sjc.edge.kernel.org
* remi-php73: mirror.sjc02.svwh.net
* updates: repos.dfw.quadranet.com
No package php available.
Error: Nothing to do

Here is the yum.conf:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=<url was here>

Re: php not found when installing 7.3.8 on centos 6.9

Strangely "remi-safe" missing in your pasted output (this repo is mandatory for PHP dependencies)

> centos 6.9

Start by a yum update to get 6.10 (only the latest is supported)

BTW, I don't understand your issue.

Please raise yum debug level (see -d option) and post full yum output.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php not found when installing 7.3.8 on centos 6.9

And you should also consider using centos 7, as version 6 is close to its end of life (in a few months)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php not found when installing 7.3.8 on centos 6.9

Ok, I've enabled remi-safe. I've attempted to run the yum update command but get "No packages marked for update" so I'm still on 6.9. I'm still looking into why I can't seem to update to 6.10. I'll ask on the centos forums if needed. I still can't currently install php or php73.

>sudo yum -d10 update
Loading "fastestmirror" plugin
Config time: 0.011
Running "init" handler for "fastestmirror" plugin
Yum Version: 3.2.29
COMMAND: yum -d10 update
Installroot: /
Reading Local RPMDB
rpmdb time: 0.000
Setting up Update Process
Updating Everything
Building updates object
Setting up Package Sacks
Running "postreposetup" handler for "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.colorado.edu
* extras: sjc.edge.kernel.org
* remi-php73: mirror.sjc02.svwh.net
* remi-safe: mirror.sjc02.svwh.net
* updates: repos.dfw.quadranet.com
pkgsack time: 0.436
up:Obs Init time: 0.197
up:simple updates time: 0.002
up:obs time: 0.002
up:condense time: 0.000
updates time: 1.169
No Packages marked for Update


>rpm -q centos-release
centos-release-6-9.el6.12.3.i686



> sudo yum -d10 install php
Loading "fastestmirror" plugin
Config time: 0.011
Running "init" handler for "fastestmirror" plugin
Yum Version: 3.2.29
COMMAND: yum -d10 install php
Installroot: /
Ext Commands:

   php
Reading Local RPMDB
rpmdb time: 0.000
Setting up Install Process
Setting up Package Sacks
Running "postreposetup" handler for "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.colorado.edu
* extras: sjc.edge.kernel.org
* remi-php73: mirror.sjc02.svwh.net
* remi-safe: mirror.sjc02.svwh.net
* updates: repos.dfw.quadranet.com
pkgsack time: 0.475
Checking for virtual provide or file-provide for php
No package php available.
Error: Nothing to do