|
Posted by Jerry Stuckle on 11/23/05 15:55
zero wrote:
> I know this question has come up before (I found lots of sites discussing
> it), but I just can't get it to work.
>
> I have PHP 5.0.4 and MySQL 5.0.16 (community edition). PHP runs under MS
> IIS 5.1 (XP Pro SP2). Independently, both PHP and MySQL run fine (other
> php pages work fine, and I can access mysql tables through jdbc), but when
> I try to query a database from PHP, I get the infamous "Call to undefined
> function mysql_connect()" error.
>
> I have uncommented "extension=php_mysql.dll" in php.ini in G:\php\, which
> in turn is mentioned in the Windows PATH. I have also made sure the
> libmysql.dll and php_mysql.dll files are in the same G:\php\ directory.
>
> What am I missing here?
>
> TIA,
> zero
You did stop and start the web server, right?
What does phpinfo() show?
Look for the mssql extensions to see if they are loaded.
Also, which php.ini is it using? Is it the one you changed?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|