Unexpected error in log: php_gd2.dll [message #172280] |
Wed, 09 February 2011 03:39 |
jwcarlton
Messages: 76 Registered: December 2010
Karma: 0
|
Member |
|
|
I just found a ton of these in my error log:
[08-Feb-2011 03:00:01] PHP Warning: PHP Startup: Unable to load
dynamic library '/usr/local/lib/php/extensions/no-debug-non-
zts-20060613/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-
zts-20060613/php_gd2.dll: cannot open shared object file: No such file
or directory in Unknown on line 0
I'm guessing that this refers to the GD libraries installed when I
last built Apache?
It's not a fatal warning, so I guess it's not a huge deal. But how do
I correct it, if for no other reason than to keep it out of my error
log?
|
|
|
Re: Unexpected error in log: php_gd2.dll [message #172281 is a reply to message #172280] |
Wed, 09 February 2011 03:50 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 2/8/2011 10:39 PM, jwcarlton wrote:
> I just found a ton of these in my error log:
>
> [08-Feb-2011 03:00:01] PHP Warning: PHP Startup: Unable to load
> dynamic library '/usr/local/lib/php/extensions/no-debug-non-
> zts-20060613/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-
> zts-20060613/php_gd2.dll: cannot open shared object file: No such file
> or directory in Unknown on line 0
>
>
> I'm guessing that this refers to the GD libraries installed when I
> last built Apache?
>
> It's not a fatal warning, so I guess it's not a huge deal. But how do
> I correct it, if for no other reason than to keep it out of my error
> log?
Either install the module (and associated gd libraries) or, if you're
not using the GD2 libraries, remove the extension from your php.ini file.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
Re: Unexpected error in log: php_gd2.dll [message #172284 is a reply to message #172281] |
Wed, 09 February 2011 04:41 |
jwcarlton
Messages: 76 Registered: December 2010
Karma: 0
|
Member |
|
|
On Feb 8, 10:50 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 2/8/2011 10:39 PM, jwcarlton wrote:
>
>> I just found a ton of these in my error log:
>
>> [08-Feb-2011 03:00:01] PHP Warning: PHP Startup: Unable to load
>> dynamic library '/usr/local/lib/php/extensions/no-debug-non-
>> zts-20060613/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-
>> zts-20060613/php_gd2.dll: cannot open shared object file: No such file
>> or directory in Unknown on line 0
>
>> I'm guessing that this refers to the GD libraries installed when I
>> last built Apache?
>
>> It's not a fatal warning, so I guess it's not a huge deal. But how do
>> I correct it, if for no other reason than to keep it out of my error
>> log?
>
> Either install the module (and associated gd libraries) or, if you're
> not using the GD2 libraries, remove the extension from your php.ini file.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
Do you mean, reinstall GD? I do use it. The only way I know to do
this, though, is to rebuild Apache, which is a HUGE pain in the butt.
It doesn't keep my settings for MaxClient, etc, so I end up having to
spend a lot of time resetting everything manually.
Blech.
|
|
|
Re: Unexpected error in log: php_gd2.dll [message #172285 is a reply to message #172284] |
Wed, 09 February 2011 05:06 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 2/8/2011 11:41 PM, jwcarlton wrote:
> On Feb 8, 10:50 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 2/8/2011 10:39 PM, jwcarlton wrote:
>>
>>> I just found a ton of these in my error log:
>>
>>> [08-Feb-2011 03:00:01] PHP Warning: PHP Startup: Unable to load
>>> dynamic library '/usr/local/lib/php/extensions/no-debug-non-
>>> zts-20060613/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-
>>> zts-20060613/php_gd2.dll: cannot open shared object file: No such file
>>> or directory in Unknown on line 0
>>
>>> I'm guessing that this refers to the GD libraries installed when I
>>> last built Apache?
>>
>>> It's not a fatal warning, so I guess it's not a huge deal. But how do
>>> I correct it, if for no other reason than to keep it out of my error
>>> log?
>>
>> Either install the module (and associated gd libraries) or, if you're
>> not using the GD2 libraries, remove the extension from your php.ini file.
>>
>
> Do you mean, reinstall GD? I do use it. The only way I know to do
> this, though, is to rebuild Apache, which is a HUGE pain in the butt.
> It doesn't keep my settings for MaxClient, etc, so I end up having to
> spend a lot of time resetting everything manually.
>
> Blech.
No, GD has nothing to do with Apache (and if you read, NO WHERE did I
say anything about Apache). It is a group of libraries used by many
different programs (but not a web server). The php_gd2 extension is
just a link into these libraries.
You need the libraries installed plus the php module to get it to work.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|