My php ZendFramework2 code is running well in local, but when I commit it to php-cloud, it is showing database connection error.
Please check the page here-> http://roommates.my.phpcloud.com/roommate/album/index
Does ZF2 need an application.ini file? No idea how to proceed..
Thanks in advance…
Your code is using a local pipe connection to your mysql server. If the mysql server is running locally, on the same server as your code, and currently up. Your connection information should work. Otherwise your application.ini file needs to specify connection information for mysql.