Trying to use the pre-release of phpmyadmin 3.0.0 on a Mac results in the following unhelpful message::
Runtime Notice in ./libraries/core.lib.php#406
dl() is deprecated - use extension=gd.so in your php.ini
Unfortunately, on MacOS X, the Apple supplied version of php goes not have gd support, so modifying php.ini in this way will not work.
I urge you to strongly reconsider whatever you have done that cuases phpmyadmin 3.0.0 to require gd. Doing so will prevent it being used on Macs by many users who do not have the resources to build their own php, or to go down the road of 3rd party php builds (whose use is non-tricial).
Logged In: YES
user_id=797235
Originator: YES
OK, the real problem is that setting
$cfg['GD2Available']
to 'auto' seems to be broken.
If I set it to 'no', the above error message does not appear.
Logged In: YES
user_id=797235
Originator: YES
OK, perhaps this is a side effect of setting
$cfg['Error_Handler']['display'] = true;
and what we are seeing is just phpmyadmin's attempt to find out if gd is available.
It's still pretty unsettling and confusing for the end user though!
Is there some way end users can be told not to worry about it?
Logged In: YES
user_id=210714
Originator: NO
From Documentation.html:
"You need GD2 support in PHP to display inline thumbnails of JPEGs ("image/jpeg: inline") with their original aspect ratio."
So, GD is not required. However in your case, PMA tries to detect it. Try setting $cfg['GD2Available'] to 'no'.
Also, I think you are seeing this notice because you are running with the php.ini display_errors set to On, which is not recommended on a production system: http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
Logged In: YES
user_id=210714
Originator: NO
I answered before reading your last comments...
I guess you are running PHP 5.3?
Logged In: YES
user_id=210714
Originator: NO
I checked and dl() is deprecated in PHP 5, so we should do something to avoid its need.
Logged In: YES
user_id=797235
Originator: YES
No, I am running php 5.2.6 (Apple's version which comes with MacOS X 10.5 + latest security updates).
Logged In: YES
user_id=210714
Originator: NO
Ralph,
I don't see this as urgent because
$cfg['Error_Handler']['display'] = true;
is not the default value for error display.
Logged In: YES
user_id=797235
Originator: YES
While it isn't urgent, it is confusing and could do with cleaning up at some stage.
As $cfg['Error_Handler']['display'] is new, people are likely to turn it on and see what happens, and then wonder about the errors they see.
I also got another one about time zones, if you want to know about it...
Logged In: YES
user_id=210714
Originator: NO
As I said, at some point we'll stop calling dl() so this will be fixed.
About the time zones, well I remember seeing this one but if I remember correctly, this is really caused by a broken PHP installation (missing date.timezone in php.ini).
Logged In: YES
user_id=210714
Originator: NO
Fixed in subversion, thanks for reporting.