I am need to enable PHP OAuth for a QuickBooks integration. I am working on a centos 6 system. My attempts to install php-pecl-oauth via yum throws this error:
php56w-common-5.6.27-1.w6.i386 conflicts php-common
I tried adding --skip-broken, but that doesn't resaolve the issue; it just skips the package I am trying to install. I also tried yum install php56-pecl-oauth, but that package doesn't exist.
I've tried googling and haven't found a real hit yet. Anyone know how to overcome this?
Related
Before the question, I am running on Ubuntu 16.04. Upgrading is not an immediate option. I have installed php5.6 following the instructions in this article:
https://www.liquidweb.com/kb/install-multiple-php-versions-on-ubuntu-16-04/
Following those steps has worked in that phpinfo() shows 5.6, but when using phpmyadmin I get this error:
The mbstring extension is missing. Please check your PHP configuration.
After trying to install the package by itself
apt-get install php5.6-mbstring
I get this error:
E: Unable to locate package php5.6-mbstring
E: Couldn't find any package by glob 'php5.6-mbstring'
E: Couldn't find any package by regex 'php5.6-mbstring'
I have seen a lot of solutions, but none seem to fix this issue or are current.
Any help would be appreciated, or if this is something that can no longer be done that would good to know as well. Thanks!
I'm running PHP7.4 on CentOS7 and am having trouble getting the zip module to show up when I run php -m
I tried installing php-zip and php-pecl-zip through yum, which gives me the following result:
Resolving Dependencies
--> Running transaction check
---> Package php72w-common.x86_64 0:7.2.34-1.w7 will be installed
Removing php72w-common.x86_64 0:7.2.34-1.w7 - u due to obsoletes from installed php-common-7.4.21-1.el7.remi.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php72w-common.x86_64 0:7.2.34-1.w7 will be installed
--> Finished Dependency Resolution
Does this mean the zip module is already installed by default onto PHP7.4? Is there a reason I can't get it to activate?
I also added 40-zip.ini as per another Stackoverflow answer under /etc/php.d/ but no dice. I've also restarted my apache webserver (systemctl restart httpd).
Can someone tell me what the message means and what I can do to install ZipArchive onto my server? Any help would be appreciated, thanks!
I recently purged MySQL but now I am unable to reinstall it using:
sudo apt-get install mysql-server
I get the following error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.2
E: Package 'mysql-server' has no installation candidate
Although there are many such questions on the internet, none of them are working. I am desperate here please help.
I am using UBUNTU 17.10 x64
If it is urgent, try restoring from your backup.
I'm running 64-bit CentOS 7 with cPanel/WHM/EasyApache 4, and am trying to get memcache and memcached (PHP) installed.
I installed memcache via yum without a hitch, but when trying to "yum install php-pecl-memcached", this is the error I get:
Transaction check error:
file /usr/bin/php from install of php-cli-5.4.16-42.el7.x86_64
conflicts with file from package ea-php-cli-0.1.0-2.4.1.cpanel.x86_64
This is happening on a live site, so I want to confirm that I can uninstall php-cli via EasyApache without affecting my front end. (I also tried installing memcached via EasyApache, but it complains about not being able to find libmemcached, which is not available through that interface.)
Recently i tried to install phpqatools, but when I try:
sudo pear install --alldeps pear.phpqatools.org/phpqatools
I receive the message:
No releases available for package "pear.phpqatools.org/phpqatools"
install failed
Someone knows how to solve this?
We had this same problem.
Apparently phpqatools decided to no longer offer a pear channel. You need to install the tools through composer now.
Or you may have this problem : http://pear.php.net/bugs/bug.php?id=20203