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
<HR></BLOCKQUOTE>
I don't know if that helps anything.
Anyway thanks in advance for any help.
In your PHP.ini you'll see a section like this:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; if you wish to have an extension loaded automaticly, use the
; following syntax: extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,
; extension=msql.so
; Note that it should be the name of the module only, no directory information
; needs to go here. Specify the location of the extension with the extension_dir directive above.
Bookmarks