Jump to content


Photo

help


  • Please log in to reply
3 replies to this topic

#1 khan1

khan1
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 May 2006 - 10:35 PM

hi every body
i need some help regarding enabling my sql with php i get the following error when i try to run any php script that have my sql

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\mysqltest.php on line 4
#################################################################

my sql version is 5.0
php version is 5.1.3
IIS 5.0

i have set windows path
and set extension=php_mysql.dll
and also my sql is alive

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 27 May 2006 - 02:44 PM

Hi read my post [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=87276\" target=\"_blank\"]here[/a] should help you. Ignore the bits about apache.

#3 khan1

khan1
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 27 May 2006 - 06:59 PM

Path C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\php-5.1.4-Win32\ext;C:\Program Files\MySQL\MySQL Server 5.0\bin


with running php.info i got a few lines that has something about my sql but still i still get the same message



Fatal error: Call to undefined function mysql_connect() in [path of script here] on line [line number here]



#4 shoz

shoz
  • Staff Alumni
  • Advanced Member
  • 600 posts

Posted 27 May 2006 - 07:09 PM

sakhan, don't create duplicate topics on the board. Read through the [a href=\"http://www.phpfreaks.com/forums/index.php?act=boardrules\" target=\"_blank\"]Board Guidelines[/a].

Your topics have been merged.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users