nosnom
12-30-2007, 08:30 PM
Hey there.
I'm looking to use a script that makes thumbnails of existing images in a directory. This requires the GD library.
I've enabled the extension in my php.ini file and copied it to the php directory that script is running from.
However, whenever I run the script it comes up with the following error log entry:
[30-Dec-2007 18:43:23] PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - ./php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0
My php extension directory is setup thusly:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
I've run it from inside a folder as well as the root of my public_html directory
I did a
<?phpinfo?> and GD is not mentioned.
I thought this was the end of it and had resigned myself to not being able to use the script until I found this thread:
http://hostmonsterforum.com/showthread.php?t=481
to save the trouble of having to look it up:
savemyxy01-13-2007, 02:05 AM
Does HostMonster support the php GD library? It's commented out in php.ini, but usually you would have to restart apache after doing so and I don't know if we mere mortals have that power.
The php.ini has a "considerations" from the HostMonster Gods saying if the file is changed copy it to all subdirectories, does this mean that the server doesn't need to be restarted?
Cheers for any responses.
--------------------------------------------------------------------------------
McCoy01-13-2007, 08:17 AM
I have used GD without problems in my account.
--------------------------------------------------------------------------------
nerdykit01-14-2007, 12:46 PM
I run moodle which uses the GD library and both my moodle config info and the running of the moodle indicate that the library is present and functional. I don't think you have to do anything to run it. Just assume that it's there.
So now I'm confused. Am I doing it "all wrong" (it wouldn't surprise me) or... is there something more I need to do... or less?
Any feedback would be appreciated.
Thanks
I'm looking to use a script that makes thumbnails of existing images in a directory. This requires the GD library.
I've enabled the extension in my php.ini file and copied it to the php directory that script is running from.
However, whenever I run the script it comes up with the following error log entry:
[30-Dec-2007 18:43:23] PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - ./php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0
My php extension directory is setup thusly:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
I've run it from inside a folder as well as the root of my public_html directory
I did a
<?phpinfo?> and GD is not mentioned.
I thought this was the end of it and had resigned myself to not being able to use the script until I found this thread:
http://hostmonsterforum.com/showthread.php?t=481
to save the trouble of having to look it up:
savemyxy01-13-2007, 02:05 AM
Does HostMonster support the php GD library? It's commented out in php.ini, but usually you would have to restart apache after doing so and I don't know if we mere mortals have that power.
The php.ini has a "considerations" from the HostMonster Gods saying if the file is changed copy it to all subdirectories, does this mean that the server doesn't need to be restarted?
Cheers for any responses.
--------------------------------------------------------------------------------
McCoy01-13-2007, 08:17 AM
I have used GD without problems in my account.
--------------------------------------------------------------------------------
nerdykit01-14-2007, 12:46 PM
I run moodle which uses the GD library and both my moodle config info and the running of the moodle indicate that the library is present and functional. I don't think you have to do anything to run it. Just assume that it's there.
So now I'm confused. Am I doing it "all wrong" (it wouldn't surprise me) or... is there something more I need to do... or less?
Any feedback would be appreciated.
Thanks