Desinerd : Dipankar's Blog

GD Library Error: Imagecreatetruecolor Does Not Exist

Published: in Technical, , , , , , by . 1 Comment on GD Library Error: Imagecreatetruecolor Does Not Exist.

Well the simplest way of solving this is to run sudo apt-get install php5-gd That will install the necessary libraries that you need to keep continuing. If you are in windows then you need to go ┬áto your php.ini and uncomment the following lines ;extension=php_gd.dll ;extension=php_gd2.dll [just remove the ; to uncomment them] Hope that […]

Nginx + django fcgi lessons

Published: in Technical, , , , , , , , , , , , by . 2 Comments on Nginx + django fcgi lessons.

Today was a good day as i learned some valuable lessons about django and nginx. ALWAYS close the database cursor in django, it can lead to some pretty wierd memory issues going forward. FIND the most optimal number of database connections you initialize for you connection pooling. This will let you optimize on memory going […]