Databases Reference
In-Depth Information
Configuring GD2 library availability verification
phpMyAdmin uses some internal functions to create the thumbnails. These functions
need the GD2 library to be present on our PHP server.
phpMyAdmin can detect the presence of the correct GD2 library, but this detection
takes some time. It also takes place not once per session, but almost every time an
action is taken in phpMyAdmin.
Setting the $cfg['GD2Available'] parameter in config.inc.php to its
default value 'auto' indicates that the detection of the library's presence and version
is needed.
If we know that the GD2 library is available, setting $cfg['GD2Available']
to yes will make execution quicker. If the GD2 library is not available, you are
recommended to set this parameter to no .
To find out which GD2 library we have on the server, we can go to phpMyAdmin's
home page and click on Show PHP information . If this link is not present, we need
to set the $cfg['ShowPhpInfo'] parameter to true . We then look for a section titled
gd and verify which version is identified. In the following screenshot, all is fine as we
can see that the GD version is 2.X with JPEG and PNG support:
Asserting support of JPEG and PNG libraries
The PHP component in our web server needs to have support for the JPEG and PNG
images if we want to generate thumbnails for these types of images. For more details,
please refer to http://php.net/manual/en/ref.image.php .
 
Search WWH ::




Custom Search