[PEAR-BUG] Req #14742 [Opn->WFx]: Restore missing modules to PECL 5.1.6

[email protected] Thu, 24 Feb 2011 10:07:43 +0000 (GMT)
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=14742&edit=1

 ID:               14742
 Updated by:       [email protected]
 Reported By:      0587terry at charter dot net
 Summary:          Restore missing modules to PECL 5.1.6
-Status:           Open
+Status:           Wont fix
 Type:             Feature/Change Request
 Package:          Bug System
 Operating System: Windows XP
 PHP Version:      5.1.6
 Roadmap Versions: 
 New Comment:

-Status: Open
+Status: Wont fix
pecl has been split from pearweb.


Previous Comments:
------------------------------------------------------------------------

[2008-10-04 22:51:55] 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.

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=14742&edit=1