Can't install PHP Package on CentOS
I fixed it! The issue was that I had the wrong version of EL installed.
I removed all my extra repo's, removed all php packages, removed httpd.
Ran the following:
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum clean
yum update
I was then able to install PHP using the following
yum install php56w php56w-opcache php56w-mcrypt php56w-pdo php56w-mysql
can't install php-devel on centos
Rather than running yum install php-devel
you needed to run yum --enablerepo=remi,remi-php54 install php-devel
.
In short, just specifying which php-devel version you wanted from the remi repo. In your case you had php54 installed from remi so you needed to add in "remi-php54" . That would have successfully installed php-devel without the downtime.
Can't install php-xml for PHP7 (CentOS)
Since you've installed the webtatic repo, those php installations should be php70w-<package>
.
yum install php70w-xml
should do the trick.
cannot install install php-gd into centos 7.2 for Intervention Image plugin on laravel
Installed: php-common-7.2.12-1.el7.remi.x86_64 (@remi-php72)
So you need to enable the remi-php72 repository and install the php-gd package from it.
As explained by the Wizard.
yum-config-manager --enable remi-php72
yum install php-gd
php-mbstring won't install on CentOS 7 and PHP 7.1.21
Excluding 8 updates due to versionlock (use "yum versionlock status" to show them)
Explanation in above message.
You have php version 7.1.21 installed when current available version is 7.1.26.
The repository only have the 2 latest versions online.
So you need to manually download and install the OLD package : php-mbstring-7.1.21-1.el7.remi.x86_64.rpm
Or better, remove the lock for this version. The "remi-php71" repository will always provides 7.1.x, and you will only receive new minor versions.
PHP 7.1 is now in security mode, and 7.1.21 is affected by lot of public security issues.
Related Topics
Accessing Class Properties with Spaces
Combinations, Dispositions and Permutations in PHP
How to Use "Dependency Injection" in Simple PHP Functions, and Should I Bother
Get Week Number (In the Year) from a Date PHP
How to Increment Letters Like Numbers in PHP
How to Schedule the Execution of a PHP Script on the Server Side
PHP Function with Unlimited Number of Parameters
Symfony2 - Creating Own Vendor Bundle - Project and Git Strategy
Check Whether or Not a Cidr Subnet Contains an Ip Address
Composer Installing: the JSON Extension Is Missing
Why Don't PHP Attributes Allow Functions
How to Implement Pagination in PHP
Split Camelcase Word into Words with PHP Preg_Match (Regular Expression)
How to Increase Memory Limit for PHP Over 2Gb