pixeltrace Posted September 14, 2007 Share Posted September 14, 2007 hi, i have a problem, we have setup a new website in our server and already have tomcat and mysql. i installed apached since we will be installing a php website on that same server. my problem now, when i check my phpinfo i dont see mysql there. how can i add the mysql path in my php in a linux platform. hope you could help me with this. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/69299-how-to-add-mysql-in-php/ Share on other sites More sharing options...
xfusion Posted September 14, 2007 Share Posted September 14, 2007 mysql works independently from php. Unlike Apache and PHP you have to connect to your server using a mysql_connect with your ip, username and password. You might want to look up one of the many tutorials on the net for this, google it ( you probably should have tried this before coming here IMO ) Quote Link to comment https://forums.phpfreaks.com/topic/69299-how-to-add-mysql-in-php/#findComment-348223 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.