PHP Startup: Unable to load dynamic library error [help]
Hi everybody !
I am getting this error on under my webpage. soap is already installed but i am still getting this error. My server is Centos 6.10 and v72.0.10.
When i checked the php.ini (usr/lib/php.ini) extension=php_soap.so
but when i checked the /opt/cpanel/ea-php56/root/usr/lib64/php/modules/ folder seems soap.so
than i tried to changed php.ini file extension row like extension=soap.so but nothing happened.
Please help me !
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_soap.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_soap.so: cannot open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:
-
Hello @Spasso, Can you run the following commands and let us know the output? rpm -qa|grep soap /opt/cpanel/ea-php56/root/usr/bin/php -m|grep soap
Also, can you setup a PHPINFO file on this domain to get a better idea of which php.ini file it's utilizing? Use your preferred file management method (SSH, FTP, File Manager) to create a file named phpinfo.php in the domain"s document root (e.g. /home/username/public_html/). The file should contain the following lines:
Ensure the phpinfo.php file is configured with 0644 permissions. User and group ownership should be set to the corresponding cPanel account"s username. Here's an example of how to do this via the command line:chmod 0644 /home/username/public_html/phpinfo.php chown username.username /home/username/public_html/phpinfo.php
Once the phpinfo.php file is created, you can open it by accessing domain.tld/phpinfo.php in your web browser. Let us know what appears under: Configuration File (php.ini) Path Loaded Configuration File Scan this dir for additional .ini files Thank you.0 -
Hello, Thank you for reply. This is the output ---------------------------------------------------------------------------- root@server [~]# rpm -qa|grep soap ea-php55-php-soap-5.5.38-39.39.7.cpanel.x86_64 ea-php56-php-soap-5.6.38-1.1.2.cpanel.x86_64 ea-php70-php-soap-7.0.32-1.1.2.cpanel.x86_64 ea-php71-php-soap-7.1.22-1.1.3.cpanel.x86_64 root@server [~]# /opt/cpanel/ea-php56/root/usr/bin/php -m|grep soap soap and this is the result of phpinfo ini file location --------------------------------------------------------------------------- Configuration File (php.ini) Path /opt/cpanel/ea-php56/root/etc Loaded Configuration File /opt/cpanel/ea-php56/root/etc/php.ini 0 -
Hello @Spasso, Can you try reinstalling the soap RPM for PHP 5.6 using the command below? yum reinstall ea-php56-php-soap
Let me know if that helps. Thank you.0 -
Hello, I have tried with command yum reinstall ea-php56-php-soap
and succesfully installed. But nothing changed. Still i got this error ERROR - 2018-11-01 19:51:31 --> Severity: Core Warning --> PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_soap.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_soap.so: cannot open shared object file: No such file or directory Unknown 0 -->0 -
Hello, To update, here's a summarized message from one of our Technical Analysts noting the cause of the issue: [QUOTE] This has been corrected. The system was loading the php soap module. The issue is that the /opt/cpanel/ea-php56/root/etc/php.d/zzzzzzz-pecl.ini had incorrect values set: zzzzzzz-pecl.ini:extension=php_soap.dll zzzzzzz-pecl.ini:extension=php_soap.so The php_soap.dll will never work on linux, as DLL's are Dynamically Linked Libraries used on Windows system, and the php_soap.so module doesn't exist. Instead, the soap.so listed in the soap.ini is loaded. Now I am able to navigate the website without errors being printed to the error_log.
I've marked this thread as solved. Thanks!0
Please sign in to leave a comment.
Comments
7 comments