New PHP install error Unable to find a match

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
gertdone
Posts: 25
Joined: Sat Oct 31, 2015 5:10 pm

New PHP install error Unable to find a match

#1 Post by gertdone » Sat Nov 02, 2019 8:00 pm

I am trying to install a new Cacti install on CentOS Linux release 8.0.1905 (Core)
with the following instructions
https://www.tecmint.com/install-cacti-n ... os-fedora/
I have had a tough time with permissions but want to give it 1 more try before I abandon and go to Centos v7.

I am stuck here? What should I do to proceed?

# dnf install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli
Last metadata expiration check: 0:01:19 ago on Sat 02 Nov 2019 08:42:09 PM EDT.
No match for argument: php-mysql
Error: Unable to find a match

Tried to add the remi repo from
https://www.tecmint.com/install-php-7-in-centos-7/
but that does not seem to work either.

I don't work in this OS every day so sorry if this is entry level..

netniV
Cacti Guru User
Posts: 3132
Joined: Sun Aug 27, 2017 12:05 am

Re: New PHP install error Unable to find a match

#2 Post by netniV » Mon Nov 04, 2019 9:57 am

This is more about finding the available PHP packages for CentOS and that would depend on the specific version of CentOS you are using (not just the major release). You can also do "yum provides <file>" to find which package supplies a given file. You may find that your version of CentOS has moved from MySQL to mariadb (not sure if CentOS has made that leap but I know ubuntu did).

Post Reply