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

0 Members and 1 Guest are viewing this topic.

Offline
*
i am using centos 7 and php 8.0.1  . but this error
how do i solve this error
PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20200930/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20200930/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20200930/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20200930/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Offline
*
Re: Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so
« Reply #1 on: August 22, 2021, 11:41:20 AM »
please help me  :(

Offline
*
Re: Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so
« Reply #2 on: August 23, 2021, 08:05:40 AM »
rebuild php 8 with newer version than 8.0.1...you should use latest from 8
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so
« Reply #3 on: September 19, 2021, 12:12:00 AM »
Same error with build 8.0.10 as well
NOTED in rebuild log
DELETING DSO Handler
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2021-09-18 08:10:06--  https://pecl.php.net/get/mcrypt-1.0.4.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
ERROR: The certificate of 'pecl.php.net' is not trusted.
ERROR: The certificate of 'pecl.php.net' was signed using an insecure algorithm.
tar: mcrypt-*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
/usr/local/cwpsrv/htdocs/resources/conf/el8/php_switcher/external_modules/8.0/mcrypt.sh: line 7: cd: mcrypt-*/: No such file or directory
« Last Edit: September 19, 2021, 12:36:51 AM by arfrater »

Offline
*****
Re: Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so
« Reply #4 on: September 20, 2021, 12:55:15 PM »
hi upgrade to centos 8 stream. its known issue with old centos 8 iso in stream its fixed.