DockerにNginxとphp-fpmを使ってLaravel環境を構築する際に、php-fpm対して実行する処理の中にpeclがあったので調べてみた。 ▼peclの使用例 php-fpmビルド用のDockerfile RUN ...
seen from China
seen from China
seen from Netherlands
seen from India
seen from China
seen from United States
seen from Paraguay

seen from United States

seen from Malaysia

seen from United States
seen from China

seen from Philippines
seen from United States
seen from India

seen from Malaysia
seen from Tanzania

seen from Russia
seen from Türkiye
seen from Türkiye

seen from Türkiye
DockerにNginxとphp-fpmを使ってLaravel環境を構築する際に、php-fpm対して実行する処理の中にpeclがあったので調べてみた。 ▼peclの使用例 php-fpmビルド用のDockerfile RUN ...
grpc PHP Pecl
PHP Warning: PHP Startup: Unable to load dynamic library 'grpc.so' (tried: /usr/lib/php/20190902/grpc.so (/usr/lib/php/20190902/grpc.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/grpc.so.so (/usr/lib/php/20190902/grpc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
the problem is extension and PHP compiled with different API version. Solve this by defining PHP version
pecl -d php_suffix=7.4 install grpc
PHP 8 將會移除 XML-RPC,改放到 PECL 內
PHP 8 將會移除 XML-RPC,改放到 PECL 內
Twitter 上看到「PHP RFC: Unbundle ext/xmlrpc」這則消息,PHP 官方打算把 XML-RPC (也就是 git repository 裡面的 ext/xmlrpc) 拆出去,移到 PECL:
Unbundle ext/xmlrpc (i.e. move it to PECL) without any explicit deprecation.
主要的考慮是在於目前的 library 已經年久失修:
ext/xmlrpc relies on on libxmlrpc-epi, which is abandoned. Even worse, we are bundling a modified 0.51, while the latest version is 0.54.1. This is exacerbated by the fact that the…
View On WordPress
Resolved: pecl install mongo - keeps compiling with wrong module API #solution #answer #computers
Resolved: pecl install mongo – keeps compiling with wrong module API #solution #answer #computers
pecl install mongo – keeps compiling with wrong module API
Working with Ubuntu 12.04 here, nginx and php5-fpm
I had mongo working well on php 5.3, then I added the ondrej/php5 ppa and updated to php5.4. It kept GD and CURL extensions, but not mongo. I re-added the line to the php.ini file, and nothing. Then I enabled startup errors and got this:
PHP Startup: Unable to load dynamic library…
View On WordPress
Solution: Installing imagick PHP extension on Ubuntu #fix #it #computers
Solution: Installing imagick PHP extension on Ubuntu #fix #it #computers
Installing imagick PHP extension on Ubuntu
I’m trying to install the imagick pecl extension on my Ubuntu server and am getting the below error. I’ve installed the ImageMagick rpm using aptitude already and the pecl extension is version 2.3.0. I’ve looked around online but can’t find anything pointing me in the right direction. I also tried looking for anything that looked like it might be the…
View On WordPress
Resolved: Installing imagick PHP extension on Ubuntu #answer #fix #solution
Resolved: Installing imagick PHP extension on Ubuntu #answer #fix #solution
Installing imagick PHP extension on Ubuntu
I’m trying to install the imagick pecl extension on my Ubuntu server and am getting the below error. I’ve installed the ImageMagick rpm using aptitude already and the pecl extension is version 2.3.0. I’ve looked around online but can’t find anything pointing me in the right direction. I also tried looking for anything that looked like it might be the…
View On WordPress
Install Solr Extension for Php on Centos
# install dependencies
sudo yum install curl-devel
sudo yum install libxml2-devel
# install extension for solr -- note use pear instead of pecl install
sudo pear install pecl/solr
# when it asks for libcURL path if you are on a 64bit machine
# change: libcURL install prefix [/usr] : /usr/lib64 libxml2 install prefix [/usr] : /usr/lib64
sudo chmod 755 /usr/lib64/php/modules/solr.so
sudo vi /etc/php.d/solr.ini
# add:
extension=solr.so
# restart apache
sudo service httpd restart