|
Posted by David Haynes on 11/23/05 21:28
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
What do you have extension_dir set to?
It should point to the ext directory (G:\php\ext)
-david-
Navigation:
[Reply to this message]
|