kaboom Posted November 17, 2004 Posted November 17, 2004 Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\catalog\includes\functions\database.php on line 19 Please help :'(
Mark Evans Posted November 17, 2004 Posted November 17, 2004 You havent installed mysql or you havent enabled the mysql extension for php. create a new file called info.php and put the following code into it <?php phpinfo(); ?> Run that in your browser by going to http://localhost/info.php and you should see a page of php configuration information. Scroll down the page and you should see a section wilth mysql details in. If that is not there you need to enable mysql for php. This is likely to be done by copying the libmysql.dll to the windows\system32 directory and editing php.ini which is normally found in your windows directory. Look at the extensions section which should tell you what you need to change. Then restart the computer and it should work ok. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
rasiel Posted November 27, 2004 Posted November 27, 2004 Hi, question, seems my dumb system admin, didnt enable mysql support for php when he installed, it. I'm on a linux server, how do i do that?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.