Bug #56685 [Fbk->NoF]: PDO shared fails to allow pecl to install

From: Date: Tue, 15 Oct 2013 11:54:28 +0000
Subject: Bug #56685 [Fbk->NoF]: PDO shared fails to allow pecl to install
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182189@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=56685&edit=1 ID: 56685 Updated by: php-bugs@lists.php.net Reported by: phyre at rogers dot com Summary: PDO shared fails to allow pecl to install -Status: Feedback +Status: No Feedback Type: Bug Package: *General Issues Operating System: Debian Linux 3.1 PHP Version: 5_1 CVS-2005-11-30 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2013-06-12 02:01:59] ssufficool@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-05-31 21:51:13] Jakub at Horky dot earth Here is a fix. You don't need to install PDO extension provided by pecl if pdo package is contained in your distribution (e.g. Debian) itself. In PEAR directory, edit your Dependency2.php file - add this line at the beginning of extension_loaded() function: --- dl("$name.so"); --- Or, if you want to be more precisious, you can add these lines instead: --- if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { $prefix = 'php_'; $suffix = '.' . ( defined('PHP_SHLIB_SUFFIX') ? PHP_SHLIB_SUFFIX : 'dll' ); } else { $prefix = ''; $suffix = '.' . ( defined('PHP_SHLIB_SUFFIX') ? PHP_SHLIB_SUFFIX : 'so' ); } @dl($prefix . $name . $suffix); --- Have a nice day ------------------------------------------------------------------------ [2007-11-21 14:16:30] anonymous_two at example dot com Had problems with shared module for PDO, was googling around and found this page ;) This worked for me: 1. pecl uninstall PDO_MYSQL 2. PHP_PDO_SHARED=1 pecl install PDO_MYSQL ------------------------------------------------------------------------ [2007-08-09 16:34:04] nlgordon at gmail dot com With php 5.2.0 and higher this becomes more troublesome in that doing pecl upgrade pdo will always downgrade the pdo extension. This removes the ATTR_DEFAULT_FETCH_MODE constant from the class as well as other fixes in the latest version of the PDO module. Updating pecl with the latest version of what is in the stable 5.2.x tree would solve this problem. ------------------------------------------------------------------------ [2007-06-29 15:39:33] c_petro at yahoo dot com sometimes configure cannot find the mysql_config file. Try doing: #ln -s /path/to/mysql/bin/mysql_config /usr/bin/mysql_config #pecl install pdo_mysql that's it ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=56685 -- Edit this bug report at https://bugs.php.net/bug.php?id=56685&edit=1

« previous php.bugs (#182189) next »