Mysql + PHP installation
Moderator: General Moderators
-
JasonMcAuley
- Forum Newbie
- Posts: 1
- Joined: Mon Sep 17, 2007 10:36 am
Mysql + PHP installation
I recently installed php on my web server (Unix) and I am having issues with mysql. I have been using the mysql service on this server for java in the past, and have done so without issues. I am able to use the mysql command line to run queries without issue. However, I cannot access the mysql DB through php at all. It is as if php has no tie to the mysql database that is running. Is there some sort of mysql or php configuration to allow php scripts to access the database?
Re: Mysql + PHP installation
Have you read these?JasonMcAuley wrote:I recently installed php on my web server (Unix) and I am having issues with mysql. I have been using the mysql service on this server for java in the past, and have done so without issues. I am able to use the mysql command line to run queries without issue. However, I cannot access the mysql DB through php at all. It is as if php has no tie to the mysql database that is running. Is there some sort of mysql or php configuration to allow php scripts to access the database?
http://us2.php.net/install.unix
http://www.onlamp.com/pub/a/php/2000/11 ... admin.html