Results 1 to 3 of 3
Thread: Connecting PHP to Mysql
Jul 3, 2000, 00:29 #1
- Join Date
- Jun 2000
- 0 Post(s)
- 0 Thread(s)
Ok, I have php and mysql set up and working on windows98. I am using omnihttpd for my server. Could someone tell me what I need to do to make PHP know where mysql is. I think I have to edit the php.ini file or something like that but I'm not sure exactly what to do.
Php.exe is located at C:\httpd\php
Php.ini is in the same dir
Mysql.exe is located at C:\mysql\bin
Omnihttpd (the server) is located at C:\httpd
Can someone tell me what I need to change and what to change it to. If you need more info I will post it on request.
Oh, I did a test to see if PHP could connect to mysql beforehand to see if it was set up correctly and I got this error message:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Fatal error: Call to undefined function: mysql_connect() in C:\HTTPD\HTDOCS\phptest\index.php on line 8
I don't know if that helps anything.
Anyway thanks in advance for any help.
S I F O X - Giving The Internet A Makeover