Checking GD library installation

In Ubuntu, open a terminal and type the following:-
saffrongeek@saffrongeek-laptop:~$ php -r “var_dump(function_exists(‘imagecreatefromjpeg’));”
if bool(true) is the status implies installed.

To check whether is limited installation, try below
saffrongeek@saffrongeek-laptop:~$ php -r “var_dump(function_exists(‘imagerotate’));”
bool(false)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: