php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25447 No built-in support for MySql
Submitted: 2003-09-09 04:29 UTC Modified: 2003-09-09 08:38 UTC
From: ondrejspilka at centrum dot cz Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.0.0b1 (beta1) OS: W2K
Private report: No CVE-ID: None
 [2003-09-09 04:29 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-09 04:45 UTC] ondrejspilka at centrum dot cz
To reproduce mysql_connect uncomment the line 2 of course.
 [2003-09-09 08:38 UTC] magnus@php.net
Try using the search function..
Wait for beta2 or get a snapshot from http://snaps.php.net
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC