1. edit php.ini file
/etc/php5/apache2/php.ini
date.timezone= Asia/Culcutta
/etc/php5/apache2/php.ini
date.timezone= Asia/Culcutta
sudo dpkg-reconfigure tzdata
sudo dpkg-reconfigure tzdata
# NB: Upstart scripts do not respect
# /etc/security/limits.conf, so the open-file limits
# settings need to be applied here.
limit nofile 32000 32000
check :
mysql> show global variables like 'open%';