php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58363 Restore missing modules to PECL 5.1.6
Submitted: 2008-10-04 22:51 UTC Modified: 2013-01-06 16:30 UTC
From: 0587terry at charter dot net Assigned: tyrael (profile)
Status: Closed Package: PECL (PECL)
PHP Version: 5.1.6 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 0587terry at charter dot net
New email:
PHP Version: OS:

 

 [2008-10-04 22:51 UTC] 0587terry at charter dot net
Description:
------------
"pecl-5.1.6-Win32.zip" is missing some important modules. There are actually 4 modules that I decided I needed when I installed  the Apache 2.0.55 server and PHP 5.1.6 several months ago, though I haven't had reason to use a couple yet.

However, these are definitely needed:
 * MYSQL
 * MYSQLI
 * GD2
 * IMAP
Indeed, trying to connect to MySQL without having MYSQL or MYSQLI loaded results in "mysql_connect() undefined" errors (or mysqli_connect(), respectively!

Reproduce code:
---------------
if (!($connection = mysql_connect($hostname,$database,$username,$password))) {
     SOME-ERROR-HANDLING-STUFF-HERE;
     }
else echo "<p>Connection successful!<\p>\n\n";

Expected result:
----------------
I expect to see a message that the connection was successful

Actual result:
--------------
Instead I was getting "mysql_connect() undefined" errors.

(Copying the old module from PECL 5.1.2 into the "ext" directory solves the problem.)

But I shouldn't have to mix PECL versions, should I? Database functionality is not exactly a marginal requirement -- PECL 5.1.6 should have it.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-06 16:30 UTC] tyrael@php.net
this shouldn't be an issue anymore.
 [2013-01-06 16:30 UTC] tyrael@php.net
-Status: Open +Status: Closed -Package: PECL bug system +Package: PECL -Assigned To: +Assigned To: tyrael
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC