Edit report at https://bugs.php.net/bug.php?id=58363&edit=1

 ID:                 58363
 Updated by:         [email protected]
 Reported by:        0587terry at charter dot net
 Summary:            Restore missing modules to PECL 5.1.6
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
-Package:            PECL bug system
+Package:            PECL
 Operating System:   Windows XP
 PHP Version:        5.1.6
-Assigned To:        
+Assigned To:        tyrael
 Block user comment: N
 Private report:     N

 New Comment:

this shouldn't be an issue anymore.


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 https://bugs.php.net/bug.php?id=58363&edit=1

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to