Author Topic: PHP Warning: PHP Startup: Unable to load dynamic library 'pecl_http.so'  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,

I tried to install "pecl_http" from "Install PECL Package"  it return with

configure: error: please install and enable pecl/raphf
ERROR: `/tmp/pear/temp/pecl_http/configure --with-php-config=/usr/local/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libicu-dir=/usr --with-http-libidn2-dir=/usr --with-http-libidn-dir=/usr --with-http-libidnkit2-dir=/usr --with-http-libidnkit-dir=/usr' failed



and this is the whole error

>>>>>>>>>>>>>>>>>>>>>>>>>>
[root@server scripts]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'pecl_http.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'pecl_http.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pecl_http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.27 (cli) (built: Jun 12 2023 23:56:26) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
You have mail in /var/spool/mail/root
[root@server scripts]#
>>>>>>>>>>>>>>>>>>>>>>


Any help please.

Thanks..