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

shadowaffles

Registered
Sep 21, 2015
2
0
1
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?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

shadowaffles

Registered
Sep 21, 2015
2
0
1
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.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.