1,033 questions
102 votes
6 answers
323k views
How to install all required PHP extensions for Laravel?
I need to make my Ubuntu 16.04. Is there a way using the GUI or is the simplest way to do this by using terminal? I have already installed PHP 7.1, MariaDB. I need to enable: OpenSSL PHP Extension ...
259 votes
11 answers
348k views
How do I see the extensions loaded by PHP?
It's got to be somewhere in the phpinfo() dump, but I just don't know where. Is it supposed to be under the "Additional Modules" section? Somewhere else? I'm trying to figure out why some ...
92 votes
8 answers
135k views
Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning
I have a Dockerfile with a build command like this: #install some base extensions RUN apt-get install -y \ zlib1g-dev \ zip \ && docker-php-ext-install zip I get this ...
0 votes
1 answer
930 views
PHP 8.4.3 unable to load extension intl despite being uncommented and at the path specified
I am attempting to install the latest version of MediaWiki (1.43), and I am using PHP version 8.4.3. The OS is Windows Server 2022 Datacenter. Here is the error I get from command-line: PHP Warning: ...
46 votes
6 answers
160k views
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so'
I ran the command: php -v Output: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /usr/lib/php/20170718/pdo_mysql.so (/usr/lib/php/20170718/pdo_mysql.so: undefined ...
93 votes
8 answers
289k views
How to check which PHP extensions have been enabled/disabled in Ubuntu Linux 12.04 LTS?
I'm using Ubuntu Linux 12.04 LTS on my local machine. I've installed LAMP long ago on my machine. Now I want to enable following PHP extensions: php_zip php_xml php_gd2 For it first I want to check ...
75 votes
13 answers
424k views
Installing PHP Zip Extension in CentOS
I'm attempting to install the PHP Zip extension in CentOS. My server does not have external internet access, so I downloaded it myself from PECL: http://pecl.php.net/package/zip. I chose 1.10.2, the ...
7 votes
2 answers
16k views
Redis.dll not found for php8.2
I am experiencing difficulties starting Redis 5.3.7 with PHP 8.2 on my Windows machine. When I attempt to start it, a dialog box displays with the message: "The procedure entry point ...
55 votes
4 answers
78k views
PHP intl extension in Docker container
I'm trying to load the intl PHP extension in my Docker container, but it doesn't seem to work. Have already tried this https://github.com/docker-library/php/issues/57 but I still get the same error ...
1 vote
1 answer
565 views
Unable to install openswoole extension in php 8.3.6
I am trying to built and extension of openswoole from more than 13 hours but getting the same error again and again. PHP Warning: PHP Startup: Unable to load dynamic library 'openswoole.so' (tried: /...
0 votes
1 answer
671 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 ...
2 votes
1 answer
536 views
FrankenPHP: How to use my own zend extension
I just found out about FrankenPHP - it's running really good so far. To make a benchmark test, i have to integrate my own PHP Zend Extension first, to see if it is viable to dig deeper into this. My ...
8 votes
1 answer
4k views
Problem when I try to add some php extension on my M1 mac
After trying to install the sqlite extension, I can no longer run php on my mac. I keep getting brew errors. Has anyone had a similar problem? dyld[58991]: Library not loaded: /opt/homebrew/opt/...
0 votes
1 answer
60 views
how can I get the result of openssl_public_decrypt?
The result is "Decrypted data is not a string", I don't know why #include "php.h" #include "ext/standard/info.h" #include "ext/standard/php_string.h" #include &...
0 votes
0 answers
20 views
PHP extensions are not being installed correctly while using Docker [duplicate]
This is my first time trying to use Docker. I am trying to set up a PHP project that uses the mysqli PHP extension, but for some reason, it is not installed when I build my Docker container. I've been ...