How to enable gd2.dll in Ubuntu
If you want this function enable (gd2.dll) in ubuntu.This extension seems like
extension=php_gd2.dll // For Windows
gd.so // for Linux
This function comes by default in windows but in my case for linux box (ubuntu). This function doesnot comes by default.
For this to integrate with php.ini in linux you need to install the package php5-gd.
For this for go to your terminal and type following command.
aptitude install php5-gd
Then restart the apache by typing
Hope it works now.
To see the php modules installed in ubuntu.
Type ” /usr/lib/php5/20060613+lfs ” in terminal.
Thanks for visiting.