pecl install zmq not found - php

Have XAMPP on Windows, php 5.5.19, PEAR 1.10.0dev2
I tried to install zmq, buto not found the package in pecl:
pecl install zmq or pecl install zmq-beta :
No releases available for package pecl.php.net/zmq
No releases available for package pecl.php.net/zmq-beta
https://pecl.php.net/package/zmq

It looks like there are DLLs available for download from zmq's package page on pecl - https://pecl.php.net/package/zmq so you might not need to install via pecl afterall...

Related

How to install the OpenCensus extension with PECL on PHP

Following the instructions (here: https://github.com/census-instrumentation/opencensus-php) I am unable to install the OpenCensus extension for PHP using PECL.
I have tried installing other PECL extensions, which worked fine.
I have also tried doing this from a VPN.
The install steps I tried are:
Install the opencensus/opencensus package using composer:
$ composer require opencensus/opencensus:~0.2
IMPORTANT: Please ensure your version is >= 0.2.0. There is a potential security vulnerability in < 0.2.0.
Install the opencensus extension from PECL:
$ pecl install opencensus-alpha
The error I get is:
No releases available for package "pecl.php.net/opencensus" install failed"
See also: https://prnt.sc/nnt5er

Install mongodb driver for php 7.1 on RHEL 7.1

I am trying to install mongodb driver for php 7.1 but not found any solution.
Used following command
pecl install mongodb
But gives , pecl command not found. Tried to install pecl by
yum install pecl
But given no package available
Try install php-pear package. pecl is included on it.
P.S. See https://pkgs.org/download/php-pear
You can also use yum packages:
yum install php71-php-pecl-mongodb.x86_64 -y

Pecl install sqlsrv returns No releases available for package

While installing sqlsrv module for PHP7 i'm getting following error -
No releases available for package "pecl.php.net/sqlsrv
Command used
sudo pecl install sqlsrv
Any idea how to resolve this issue?
Same problem here... Solved installing modules as root this way (Ubuntu 16.04):
wget http://pecl.php.net/get/sqlsrv-4.3.0.tgz
pear install sqlsrv-4.3.0.tgz
wget http://pecl.php.net/get/pdo_sqlsrv-4.3.0.tgz
pear install pdo_sqlsrv-4.3.0.tgz
You can check latests available versions here: http://pecl.php.net/package-search.php?pkg_name=sqlsrv&bool=AND&submit=Search
And check if php modules are enabled after installation:
php -m | grep sqlsrv
Try to install a certain version that you know exists:
$ pecl install sqlsrv-4.3.0
Also try to clear the cache:
$ pear clear-cache
For corporate proxy users, you might just need to tell pear to use your proxy.
pear config-set http_proxy http://proxy.example.com:8080
Sometimes pecl.php.net is not available or down. In this case pecl install may show "no releases available".
Just for information.

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

Categories