Jump to content

how to add mysql in php


pixeltrace

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/69299-how-to-add-mysql-in-php/
Share on other sites

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 :P)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.