Questions tagged [pecl]

PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions.

pecl
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Install 'Brotli' PHP extension on Windows

I'm looking to install Brotli php extension on my Windows Server 2022 server as it offer ~15% better compression performance than Gzip. But I really can't find a proper way to install it. Any ...
Fabien's user avatar
  • 1
0 votes
0 answers
27 views

pecl install xdebug on MacOS fails with error 'asm goto' constructs are not supported yet

MacOS Ventura 13.6.6 I installed php version 8.1 using homebrew. Immeidately after I did pecl install xdebug I get the following error: In file included from /private/tmp/pear/temp/xdebug/xdebug.c:21:...
teleclimber's user avatar
0 votes
0 answers
34 views

How to install V8Js for PHP on Linux Ubuntu 22.04?

I'm having trouble building v8 and libv8 to use with v8js php library. I'm running gm x64.release on the depot_tools git repo after running fetch v8; cd v8 and the v8 file and g8 file gets created but ...
Rom7x's user avatar
  • 56
0 votes
0 answers
34 views

php_yaml extension is installed but can't be found

I want to contribute in a laravel project. I get an error about yaml_parse so I probably haven't installed the php_yaml application. On the pecl download page, there is a zip for the most recent ...
Stef-Verniers's user avatar
0 votes
0 answers
61 views

Building an extension php .dll (ext_http)

I had already asked a question about this (Question extension relative) so the only solution was to compile the .dll myself on Windows. I want to compile the .dll for the PECL http extension on ...
Bref's user avatar
  • 1
0 votes
0 answers
31 views

Why running pecl I got /tmp/xdebug.log could not be opened error [duplicate]

I try install under Kubuntu 22.04 of my home laptop Swoole with pecl, but got these errors: running under my project : root@hoster:/MyProject# pecl install swoole Xdebug: [Log Files] File '/tmp/xdebug....
Petro Gromovo's user avatar
0 votes
0 answers
119 views

Is there any other way to install MongoDB PHP driver?

I am trying to install MongoDB PHP driver for PHP version 8.2.4 I tried installing from here but available DLL files are not compatible with my PHP version. I installed the latest version available ...
Emby's user avatar
  • 1
0 votes
1 answer
88 views

"pecl http" php extension can't be loaded in local (xampp/wampp)

I want to add the php "http" extension to xampp on Windows (https://pecl.php.net/package/pecl_http/4.2.2/windows). But every time I get the error in my console : Warning: PHP Startup: Unable ...
Bref's user avatar
  • 1
0 votes
0 answers
58 views

PHP Apache Docker container: No releases available for package "pecl.php.net/xdebug" in some networks in Ubuntu 18

I`m installing xdebug with pecl in my php/apache docker container: FROM php:apache-bullseye RUN pecl install xdebug \ && docker-php-ext-enable xdebug This works in my WiFi. But when I ...
user1383029's user avatar
  • 1,913
-2 votes
1 answer
140 views

php doesn't have standard libraries, how to install 'em [duplicate]

I got a docker image with php 8. I don't have any details about how it was assembled, but I need this image. So, I ran it and picked into it (a docker image with php 8.1.25). I need to install an ...
Lee's user avatar
  • 3
2 votes
0 answers
296 views

Install mongodb failing on M1 Mac using pecl

I'm attempting to configure PHP to work with MongoDB by following the steps outlined in the "Getting Set Up to Run PHP with MongoDB" tutorial. However, I encountered an issue during the ...
Daniel Urbina's user avatar
1 vote
2 answers
612 views

How can I install Xdebug on DDEV for PHP 8.3 before it's ready in a release?

Edit 2023-12-08: The upstream issues are resolved. For DDEV v1.22.5, just add this to .ddev/config.yaml: webimage_extra_packages: [php8.3-xdebug] For versions after v1.22.5, nothing needs to be done. ...
rfay's user avatar
  • 11.2k
0 votes
0 answers
541 views

sqlsrv not getting installed for php 7.4

I am trying to install sqlsrv drivers for php with Dockerfile, but it is not working, I am getting error that pecl sqlsrv requires php 8.1, current version 7.4. I cannot update php to 8.1 because ...
dev_sk's user avatar
  • 95
2 votes
0 answers
500 views

is mailparse dll for windows php8.2 available? [closed]

DLLs are available are for earlier versions of PHP, we are running 8.2 https://windows.php.net/downloads/pecl/releases/ has windows PECL DLLs, but the most recent on this page for mailparse shows this ...
Nik Dow's user avatar
  • 614
0 votes
0 answers
192 views

Does including php-pear in a Dockerfile automatically force install of latest PHP version?

I'm specifically installing PHP 8.1 in Dockerfile, on quite a few lines. Now, I've also added a line to install php-pear (for PECL), but it seems to automatically bump up PHP to 8.2. And in the ...
ChefBoyRDang's user avatar
0 votes
0 answers
54 views

cannot connect to oracle 19 with php oci_connect

I know there are other posts (mostly older) about this error, but the solutions don't seem to work for me. My system is Windows 10. I changed the exensions-dir in php.ini to the full path in php.ini ...
Mark Ainsworth's user avatar
0 votes
0 answers
137 views

Cannot download "pecl/mongodb" (Connection to `ssl://pecl.php.net:443' failed: )

I am seeing this issue after running docker-compose up command. I am new to docker that is why, I have no idea what's going on here and how to fix this issue.enter image description here I executed ...
user avatar
0 votes
0 answers
353 views

issue trying to use pecl to install mongodb extension

I tried installing PHP MongoDB Extension with "pecl install mongodb" and i got an error message saying "No releases available for package "pecl.php.net/mongodb" i have tried ...
Hassan oladipupo's user avatar
1 vote
3 answers
1k views

Install zip module on php 8.2 amazon linux elastic beanstalk

I'm pretty sure the zip extension was included by default in the amazon managed php elb image. The usual way to do this was adding a config file like this to .ebextensions packages: yum: ...
asdfasdfsdfga's user avatar
0 votes
0 answers
268 views

Fixing a fatal error with PECL/PEAR with multiple php versions

I need to install a PHP package using PECL on a server. However, I keep getting the following error while executing any pecl or pear command. PHP Fatal error: Array and string offset access syntax ...
artryoki's user avatar
0 votes
1 answer
575 views

Unable to load dynamic library 'imagick.so' - dlopen(imagick.so, 0x0009): symbol not found in flat namespace '_AcquireAlignedMemory'

I'm already desperate, I know there are a lot of similar questions but no solution helped me, so I'll try a new question. I'm trying to activate Imagick but I get this error Warning: PHP Startup: ...
Jaroslav Klimčík's user avatar
1 vote
0 answers
91 views

MongoDB extesion not installing using sudo pecl install mongodb

I'm trying to install mongodb extenstion in MacOS (13.4.1) Chip (Apple M1 Pro) having Xampp installed with php verison PHP 7.4.1 using sudo pecl install mongodb but it's giving below error fatal error:...
Jitender Thakur's user avatar
0 votes
0 answers
537 views

Error when installing Imagemagick 3.7.0 in XAMPP for Linux 8.2.4 (Lubuntu 22.04.2 LTS)

I have installed the latest Xampp, and I 'm trying to install ImageMagick according to this https://gist.github.com/meleu/8ac2b8606964c6d1f2f508727e2e5f64 However, when I give this command to the ...
Char.Log.'s user avatar
2 votes
1 answer
10k views

Why is the Redis extension not working with PHP 8.2? [duplicate]

I am using the latest stable version of PHP 8.2.4 with XAMPP on Windows 11 x64. I want to install the Redis extension in the PHP ext folder. However, after installing the DLL file and registering it ...
Vivek's user avatar
  • 39
2 votes
3 answers
1k views

No releases available for package "pecl.php.net/imagick". OpenSSL Error?

I apologise if this is a duplicate, but none of the already posted question's answers helped me. Recently, the Dockerfile for our php5.6-apache doesn't want to build anymore. The line where it fails ...
Narc0t1CYM's user avatar
2 votes
3 answers
5k views

PECL install no releases available

RUN pecl install mongodb-1.4.2 Resulted in this output: RUN pecl install mongodb-1.4.2 && docker-php-ext-enable mongodb: No releases available for package "pecl.php.net/mongodb" ...
reinisal's user avatar
0 votes
1 answer
373 views

Error pecl install oci8-2.2.0 - Try to build container on apple with chip silicon (M2)

I pass the day on this problem, the docker file work perfectly on windows. When I launch docker-compose up I have this error : `=> ERROR [web 11/54] RUN echo 'instantclient,/usr/lib/oracle/21.1/...
Geoff Oliver's user avatar
0 votes
0 answers
106 views

Cannot Install Ssh2 on centos 7 with php version 5.6

I'm trying to install Ssh2 on centos7 with php version 5.6.40 but i get this error : WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net&...
emquark's user avatar
1 vote
0 answers
704 views

Pecl having trouble installing php redis in docker

I have set up a Docker environment for my symfony application. One problem I'm facing is everytime docker runs docker-php-ext-install redis or pecl install redis I'll get error that says: #0 2.161 #3 /...
Abdullah Alhariri's user avatar
0 votes
1 answer
158 views

PHP5.6 - "The php-devel package is required for use of this command" but "Package php-devel-5.4.16-48.el7.x86_64 already installed and latest version"

Docker container running remi php 5.6 at /opt/rh/rh-php56 Trying to run a pecl package (ssh2) install but output says Can't find PHP headers in /opt/rh/rh-php56/root/usr/include/php The php-devel ...
Mike Pinnell's user avatar
0 votes
0 answers
34 views

Command "pecl install mongodb" throw me : No releases available for package "pecl.php.net/mongodb"

I have to install mongodb extension into my ubuntu server (20.04.5). I try this command pecl install mongodb but it throws me this error No releases available for package "pecl.php.net/mongodb&...
Petitemo's user avatar
  • 169
0 votes
0 answers
548 views

How is it possible to install openssl and curl extension for PHP8 on mac?

I installed PHP 8 with: brew install php Then I edited php.ini to enable curl and openssl: extension=curl extension=openssl I use the default extension dir extension_dir = "/opt/homebrew/lib/...
Adam's user avatar
  • 1
0 votes
1 answer
483 views

How to install the PHP Decimal extension on non-Windows OS

PHP Decimal seems to be the only good alternative to bcmath. The name refers to both a wrapper library as well as a PHP extension. The extension itself depends on libmpdec. Dependencies PHP 7 ...
aperson's user avatar
  • 21
0 votes
1 answer
1k views

I get an error installing Xdebug on Alpine docker. What am I doing wrong?

I'm trying to install Xdebug on Alpine 3.17, but the different solutions I found with Google didn't work out. I'm a bit lost on this. I try to use PECL to install Xdebug as mentioned here. But I only ...
MIB's user avatar
  • 347
1 vote
1 answer
612 views

How do I build the YAML PECL extension for Windows when there isn't already a DLL available?

I have PHP 8.2.4 installed on my Windows machine and I would like to enable the YAML extension. The instructions that I have followed in the past are to download the the Windows DLL from the PECL ...
BPaasch's user avatar
  • 41
1 vote
0 answers
2k views

Unable to install Redis module with PHP 8.x version on Linux

Deployment of one of the application in our environment started failing while trying to install PHP Redis module on Amazon Linux. The environment has PHP 8 installed. I am getting the below error. ---&...
Rob Wilkinson's user avatar
2 votes
1 answer
1k views

PHP 8.1 with Xdebug - symbol not found in flat namespace '_zend_get_parameters_array_ex'

System Information macOS 13.2.1 (22D68) (Intel Processor) PHP versions installed via homebrew Xdebug installed via pecl Xdebug Version 3.2.0 (should be supported -> see https://xdebug.org/docs/...
Dennis's user avatar
  • 303
1 vote
0 answers
338 views

Problem Installing gnupg php extension mac m1

So i am trying to install gnupg on my mac m1 I found this question and tried to follow this Install PHP gnupg using PECL on MAC/MAMP 10.8.4 Doesn't seem to work for me, when i run pecl install gnupg ...
Hussain Shaikh's user avatar
2 votes
0 answers
2k views

Fail pecl channel-update pecl.php.net

My develop environment CentOS: 7.9 (Using FROM centos:7.9.2009 From DockerHub) PHP: 7.4.33 Apache: 2.4.55 I'm trying to create Docker container by using Dockerfile. With the above environment, I ...
yahoo's user avatar
  • 21
1 vote
1 answer
747 views

Install PECL mongodb php driver extension in a multiphp fpm environment of CentOS 7

I am trying to install pecl mongodb php driver extension in a multi php (fpm) environment of a CentOS (release 7.5) server. I have three PHP versions configured as: systemctl enable php72-php-fpm (...
sariDon's user avatar
  • 7,850
0 votes
1 answer
200 views

Debian 11 PHP db2_connect() not working / PECL installed ibm_db2

I have taken the following steps and I am using Debian 11. I've installed the CLI Driver for DB/2 from the IBM Website I've installed the ibm_db2 package via pecl for PHP PECL I've edited the PHP.INI ...
Simon Giesen's user avatar
2 votes
1 answer
649 views

Docker PHP - PECL install fail to detect system type when using heredoc and bash but works with shell set using SHELL command

I have this simple Dockerfile-fail file $ cat Dockerfile-fail # syntax=docker/dockerfile:1 FROM php:8.1.11-fpm-buster RUN <<...
piotrekkr's user avatar
  • 2,911
4 votes
2 answers
965 views

pecl install memcached - Can't find ZLIB headers under "/opt/homebrew/opt/zlib/include"

I have installed PHP, zlib and memcached using Homebrew on a Mac with Apple silicon. I am trying to install the memcached extension for PHP using sudo pecl install memcached When it prompts me for ...
tinkerr's user avatar
  • 1,024
0 votes
0 answers
488 views

PECL fails to install Xdebug on PHP 8.1 because it thinks I'm on PHP version 7.4

I've searched far and wide, tried everything but I can't get to install Xdebug on PHP 8.1 I've got multiple PHP versions installed via homebrew, when I switch to PHP 8.1 and try to install Xdebug I ...
Tim Reynaert's user avatar
0 votes
1 answer
830 views

When installing php oauth package: Couldn't find pcre.h, try installing the libpcre development/headers package

I need to install oauth (pecl install oauth) for a 3rd party package. I have both pcre & pcre2 installed using Homebrew but still oauth complains about not finding pcre.h. I'm on macOS Ventura 13....
Quisse's user avatar
  • 738
-1 votes
1 answer
530 views

installing grpc extension for php on ubuntu failed [closed]

command: sudo pecl install grpc I tried installing grpc extension for php on ubuntu with the above command. The installation started then got stuck at some point, after which, it failed and outputted ...
Joshua Nnamani's user avatar
2 votes
1 answer
968 views

/php_intl.h:33:10: fatal error: 'unicode/ubrk.h' file not found

I'm trying to install intl on Mac os Ventura 13.0.1 with XAMPP 8.1.12 with pecl with this command: sudo /Applications/XAMPP/xamppfiles/bin/pecl install intl i cannot use directly pecl because i've ...
Mirko Fogazzi's user avatar
0 votes
1 answer
256 views

Error installing Xdebug via pecl on Mac - Unable to create temp directory

On Mac Monterey, while trying to install xdebug via pecl as is now required with Homebrew, I get the following error: downloading xdebug-3.2.0.tgz ... Starting to download xdebug-3.2.0.tgz (245,775 ...
wonder95's user avatar
  • 4,005
0 votes
0 answers
290 views

Installing Xdebug 3 to debug PHP code inside a Docker container

I need to enable the possibility to debug my PHP code inside a Docker. The idea is to install Xdebug 3 in the PHP container. Please note that I've built the Docker image starting from CentoOS 7 where ...
Safari's user avatar
  • 11.7k
2 votes
1 answer
267 views

PHP APCu monotonic TTL clock change - please confirm my understanding of timestamps

We use PHP 7.4 and recently our build went from APCu version 5.1.21 to 5.1.22, with changelog noted here We noticed that the internal timestamps for the cache object have changed from a prior UNIX ...
C C's user avatar
  • 429

1
2 3 4 5
17