Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql connector with php4?

Status
Not open for further replies.

DrQuincy

Programmer
Jan 28, 2003
5
GB
Hi all,

Before I begin, I've searched through previous postings to find a similar question but haven't found one. If I made some major ommissions in my search and this has been answered many times before please forgive me.

I'm about to design a web site for a friend using PHP4 and MySQL. The closest thing I've ever done to this in the past is connecting MySQL to JSP. To get those to work you had to have a JSP server, the Java Virtual Machine and a MySQL-Java-Connector in the server \bin directory. Do I need a connector for PHP4 or is it built in? The server my friend has bought his web space with says it has PHP4 support; does that auotomatically mean that I can connect to the MySQL database I have written for him?

Many thanks.

Tim.
 
MySQL connectivity is built in, but if PHP was compiled from source, the functionality will not be turned on by default.

If you invoke the PHP function phpinfo(), the output of that function will mention MySQL if support for that database server is turned on. Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top