Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 22, 2012 4:45 pm 
Offline
Newbie

Joined: Wed Aug 22, 2012 4:34 pm
Posts: 2
Hi guys,

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.


Top
   
PostPosted: Wed Aug 22, 2012 5:14 pm 
Offline
Newbie

Joined: Wed Aug 22, 2012 4:34 pm
Posts: 2
OK so I have rebooted my Linode, everything works now!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group