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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ondrejspilka at centrum dot cz
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 00:01:27 2024 UTC