My project works fine on my local. When i put it on Debian, I am facing an error:
PDO Connection Error: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 110
I searched it on the internet, everyone thinks its because of databases.yml file. I tried lots of one but could not fix the prob.
extension=pdo.so line.
For curl and imagemagick extensions, are the modules installed?
sudo apt-get install php5-curl php5-imagick