LEMP, cant get php to talk to mysql - please help
its my 2nd day of trial and error, but still cant get php to talk to mysql.
Have followed the "LEMP Server on Debian 6" giude in linode library, have installed all components - all work well independently. I tested this by placing a test.php in my public_html and the browser outputed the rendered php file.
However, when I try to connect to mysql from test.php, the browser shows a blank page, and i was able to find that the server sent a 500 - internal server error.
About mysql config - it is configured to run on 127.0.0.1, i can successfully execute mysql commands from ssh.
Please help - how can I get php to talk to mysql?
Any advice would be greatly appreciated.
Thanks.