Jump to content

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)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.