OSX Xampp Install PHP extension intl - php

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.

Related

XAMPP intl problem on mac Catalina version10.15.1

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

How to install php-memcached extension on Mac OS High Sierra

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.

Can't upgrade SSH2 with pecl

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'm trying to get pecl_http

I installed the pecl package, but the pecl_http won't install.
Here is my pecl list:
Installed packages, channel pecl.php.net:
=========================================
Package Version State
propro 1.0.0 stable
raphf 1.1.0 stable
uploadprogress 1.0.3.1 stable
I'm trying to get the pecl_http on the list but it is not working.
What am I doing wrong?
I am working on Ubuntu. I installed pecl_http
with the following command:
sudo pecl install pecl_http
I have a pecl_http-2.5.5.tgz file and the files in the .tgz package are written in C.
I have also tried sudo pecl install http, without success.
Can any one tell me what I'm doing wrong?
Returning to pecl_http v1 helped me. I found the solution from the question http.so loaded but http_get undefined. Advancing to PHP 7 didn't seem practical due to the presumed avalanche of modifications needed to other software.
sudo pecl uninstall pecl_http
sudo pecl install pecl_http-1.7.6

pecl install intl gives no releases available?

I'm using mac and xampp and trying to install php package intl for using phpdocumentor as required.
I follow this instruction to install:
Installing Intl package on your mac with xampp
But when I was trying to install intl with pecl, it gave me error:
No releases available for package "pecl.php.net/intl"
install failed
I have searched for solution and try to upgrade pear/pecl but it turned to "unsupported protocol". I also tried to changes /PEAR/REST.php as one solution but it also didn't work. Did anyone face the same problem and solved. Can you help me T_T
Probably some problem with old channels and/or old protocols.
First look at the log (as cweiske said).
pecl -vvv install intl
Then you can simply try to upgrade PEAR, PECL and update channels
pear upgrade
pecl upgrade
pecl channel-update
And install intl again
pecl install intl

Categories