I installed successfully memcached-server, but got an error in my php-script:
Class 'Memcached' not found
I should to install php-memcached extension to fix it, but i dont know how.
I searched howto's, but all what i found is about installing php5*-memcached with brew. But i need an extension for php7.1,
brew install php71-memcached doesnt work
This should help:
pecl install memcached
Memcached extension is available for PHP 7.0.0 or newer.
Related
I have tried installing using pecl command but still getting the same issue. Enabled the extension in the php.ini but again of new use
Unable to load dynamic library '/usr/local/Cellar/php70-intl/7.0.27_24/intl.so'
I am trying to install CakePHP. PHP version is 7.2 and intl present on mac /usr/local/Cellar/php70-intl . Please help me with the same. I have tried almost everything.
brew install icu4c
root$: sudo pecl update-channels
root$: sudo pecl install intl
tried everything mentioned above but still of no use
After deprecating homebrew-php, there is no amqp extension in brew native taps. I can't install amqp extension now.
PECL shows me this kind of error
librabbitmq not found
Where it can be found?
This is rabbitmq-c also available in brew.
Thanks
for the Joomla component to work, I need the ImageMagick package, which I decided to install under this instruction https://codebeer.ru/ustanovka-imagemagick-v-centos-7/
But during the installation after the command yum install gcc php-devel php-pear
Received an Error:
php71w-common conflicts with php-common-5.3.3-49.el6.x86_64
Version of my Linux CentOS 6.8
It is required to correctly install the package and the extension for PHP ImageMagic.
All installation instructions have already tried, unfortunately the error does not pass, but the package is not installed, I'm new to setting up servers, so I ask for help.
As you should always do, backup your server/data before making any possible breaking changes *
I'm assuming you're using php71 .. webtatic from the 'w' suffix. ( Same flavor I personally use )
** Unless you're actively using PHP5.x still **, just yum remove the conflicting PHP5 package
yum remove php-common
Then re-yum your imagick package and you should be all good.
My current version of pecl SSH2 is 0.12 and I am trying to upgrade it to 0.13.
I tried both:
pecl upgrade ssh2-0.13
and
pecl install ssh2-0.13
and got
ERROR: pecl.php.net/ssh2 not installed
Not much feedback, what else can I try?
using php 5.6 and PEAR 1.9.5
I am using CentOS and following helped me to upgrade, might help you too
yum install gcc php-devel php-pear libssh2 libssh2-devel
// or in ubuntu(deb) sudo apt-get install ...............
pecl install -f ssh2
Actually i removed my old version and did above. And i installed all the packages that require. Please make sure you have installed all the required packages (gcc, php-devel, php-pear, libssh2, libssh2-devel) and then try to install or upgrade again.
I found a lot of tutorials for installing intl extension but none of them is working for me. I get to install sudo pecl install intl but I get error:
pecl/intl is already installed and is the same as the released version 3.0.0
install failed
Can you someone help me how to install this extion on osx xampp?
Thanks for reply.