Skip to main content

Error Log - PHP Startup: Unable to load dynamic library

Comments

12 comments

  • User Avatar
    cPanelMichael
    Hello :) Please post the output from the following command:
    php -m|grep mysql
    Also, could you verify if this account utilizes it's own php.ini file within it's home or public_html directory? Thank you.
    0
  • User Avatar
    Ivo Danic
    Only apears this list: mysql mysqli mysqlnd pdo_mysql
    0
  • User Avatar
    cPanelMichael
    That suggests the modules referenced in the error message exist. Could you verify if this account utilizes it's own php.ini file within it's home or public_html directory? Thank you.
    0
  • User Avatar
    Ivo Danic
    Sorry, im new, so could you please tell me how can i do this? Thanks
    0
  • User Avatar
    cPanelMichael
    This command will search for any php.ini files within the account:
    find /home/username -type f -name 'php.ini'
    Replace "username" with the username of the account. Thank you.
    0
  • User Avatar
    Ivo Danic
    the command does not return nothing, even no one error. these means something?
    0
  • User Avatar
    cPanelMichael
    It suggests there's no php.ini file within the account. Do you utilize any custom values in your php.ini file? If not, try running these commands to see if it helps:
    mv /usr/local/lib/php.ini /usr/local/lib/php.ini.old /scripts/phpini
    Thank you.
    0
  • User Avatar
    Ivo Danic
    i ran this lines and all my accounts that exist on my vps came down, i remove the .old and then all the services were restored.. I ran it in the following order... .
      ]
    • first i type mv /usr/local/lib/php.ini /usr/local/lib/php.ini.old
    • then /scripts/phpini
    But it doesnt help.... :(
    0
  • User Avatar
    cPanelMichael
    Could you open a support ticket using the link in my signature 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.
    0
  • User Avatar
    Ivo Danic
    Tanks for all! You think that this, can this provoke a 500 error?
    0
  • User Avatar
    cPanelMichael
    The "500" error code is likely a separate issue. You can review /usr/local/apache/logs/error_log to determine the full error message when your browser outputs that error code. Were you able to open a support ticket for the initial issue? Thank you.
    0
  • User Avatar
    Ivo Danic
    Yeap, already i send a support ticket, they'll reply me as soon as posible i think so! Jajaja OK! :) Thanks for all!
    0

Please sign in to leave a comment.