Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED PHP Startup: Unable to load dynamic library error [help]

Discussion in 'General Discussion' started by Spasso, Aug 15, 2018.

  1. Spasso

    Spasso Registered

    Joined:
    Aug 15, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    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:
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Spasso,

    Can you run the following commands and let us know the output?

    Code:
    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:

    Code:
    <?php
    // Show all information, defaults to INFO_ALL
    phpinfo();
    ?>
    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:

    Code:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Spasso

    Spasso Registered

    Joined:
    Aug 15, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    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
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Spasso,

    Can you try reinstalling the soap RPM for PHP 5.6 using the command below?

    Code:
    yum reinstall ea-php56-php-soap
    Let me know if that helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Spasso

    Spasso Registered

    Joined:
    Aug 15, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    Hello,
    I have tried with command

    Code:
    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 -->
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Spasso,

    Can you open a support ticket so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Spasso

    Spasso Registered

    Joined:
    Aug 15, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    Hello,
    I have created ticket and my Support Request ID is: 10622243

    Thank you.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,284
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, here's a summarized message from one of our Technical Analysts noting the cause of the issue:

    I've marked this thread as solved.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice