|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-01-06 16:30 UTC] tyrael@php.net
[2013-01-06 16:30 UTC] tyrael@php.net
-Status: Open
+Status: Closed
-Package: PECL bug system
+Package: PECL
-Assigned To:
+Assigned To: tyrael
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
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.