ID: 25447
User updated by: ondrejspilka at centrum dot cz
-Summary: No built-in support fro MySql
Reported By: ondrejspilka at centrum dot cz
Status: Open
-Bug Type: MySQL related
+Bug Type: *Configuration Issues
Operating System: W2K
PHP Version: 5.0.0b1 (beta1)
New Comment:
To reproduce mysql_connect uncomment the line 2 of course.
Previous Comments:
------------------------------------------------------------------------
[2003-09-09 04:29:26] ondrejspilka at centrum dot cz
Description:
------------
Win binaries for PHP5 presented on the php.net doesn't include support
for MySQL.
Binaries downloaded from 2 locations(Czech Rep, Belgium), NOT
compiled.
Reproduce code:
---------------
<?php
//$h = mysql_connect("localhost","mysql_user");
/* ------ second option to reproduce ------*/
if ( function_exists('mysql_connect') )
echo("MYSQL support OK");
else
echo("MYSQL support NOT PRESENT");
?>
Expected result:
----------------
connected succesfully
/* OR */
MYSQL support OK
Actual result:
--------------
Fatal error: Call to undefined function: mysql_connect() in
C:\Inetpub\wwwroot\php\info.php on line 2
/* OR */
MYSQL support NOT PRESENT
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25447&edit=1