The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Startup: Unable to load dynamic library - php_gd2.dll

Discussion in 'General Discussion' started by shadowaffles, Sep 21, 2015.

  1. shadowaffles

    shadowaffles Registered

    Joined:
    Sep 21, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brasil
    cPanel Access Level:
    Website Owner
    Hello, i build a website in Windows and now i am tryning to put in online in a Linux server but i got this error in all my pages that use MySQL to do something:
    [21-Sep-2015 10:22:26 America/Sao_Paulo] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0.

    I know that the dll is not supposed to be there but i did not find the php.ini anywhere.

    I'm using mysqli extension for database conection and to execute querys.

    i736.photobucket.com/albums/xx10/SoulFear/extensoes_zpsobplse8l.png
    i736.photobucket.com/albums/xx10/SoulFear/php%20info_zpsfjx6mexa.png
    i736.photobucket.com/albums/xx10/SoulFear/gd_zpsqvsqil1y.png

    Can anyone help me?
     
    #1 shadowaffles, Sep 21, 2015
    Last edited by a moderator: Sep 21, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Can you upload a PHPINFO file to the same directory that you uploaded this script? Look for the reference to the php.ini file in the PHPINFO page to see which php.ini is utilized by this directory.

    Thank you.
     
  3. shadowaffles

    shadowaffles Registered

    Joined:
    Sep 21, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brasil
    cPanel Access Level:
    Website Owner
    Sorry i don't have the write permission to do that and i also don't even know where is that folder because i only found
    usr/lib/php/extensions/no-debug-non-zts-20090626/ but not usr/local/lib/php/extensions/no-debug-non-zts-20090626/

    I don't even know why there is a script in that folder.

    I am new at web development and a total noob with server and this problem is giving me headache, i don't know if it's a problem with my project or the server that it's hosted.

    EDIT:
    The folder (usr/lib/php/extensions/no-debug-non-zts-20090626/) seems to be in my computer and i can't find it in the server.
     
    #3 shadowaffles, Sep 21, 2015
    Last edited: Sep 21, 2015
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will need to report this issue to your web hosting provider if you do not have access to upload files to the account. You won't be able to troubleshoot the issue without this level of access.

    Thank you.
     
Loading...

Share This Page