[PECL-BUG] Req #14742 [NEW]: Restore missing modules to PECL 5.1.6
[email protected] ("0587terry at charter dot net")
| Newsgroups | php.pear.webmaster |
|---|---|
| Message-ID | <[email protected]> |
From: 0587terry at charter dot net
Operating system: Windows XP
Package version:
PHP version: 5.1.6
Package: Bug System
Bug Type: Feature/Change Request
Bug description: Restore missing modules to PECL 5.1.6
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 bug report at http://pecl.php.net/bugs/bug.php?id=14742&edit=1
--