A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=4910 ====================================================================== Reported By: hudesd Assigned To: bwalton ====================================================================== Project: php5 Issue ID: 4910 Category: upgrade Reproducibility: always Severity: crash Priority: normal Status: feedback ====================================================================== Date Submitted: 2012-02-27 23:23 CET Last Modified: 2012-02-28 21:42 CET ====================================================================== Summary: upgrade to 5.3.10,REV=2012.02.10 breaks installed libraries Description: After upgrade to CSWphp5 5.3.10,REV=2012.02.10 and CSWphp5-mysql 5.3.10,REV=2012.02.10, Mantis no longer can reach the database (the database is up and running just fine: I use command-line mysql client and query mysql just fine).
I am investigating to find the configuration file that got smacked. ====================================================================== ---------------------------------------------------------------------- (0009693) hudesd (reporter) - 2012-02-28 21:42 https://www.opencsw.org/mantis/view.php?id=4910#c9693 ---------------------------------------------------------------------- I'm setting up a clean PHP/MySQL (client) install in another zone. Meanwhile, googling the error message found this interesting statement from the official PHP5 documentation (http://php.net/manual/en/migration51.databases.php): -- Changes in MySQL support In PHP 4, MySQL 3 support was built-in. With the release of PHP 5.0 there were two MySQL extensions, named 'mysql' and 'mysqli', which were designed to support MySQL < 4.1 and MySQL 4.1 and up, respectively. With the introduction of PDO, which provides a very fast interface to all the database APIs supported by PHP, the PDO_MYSQL driver can support any of the current versions (MySQL 3, 4 or 5) in PHP code written for PDO, depending on the MySQL library version used during compilation. The older MySQL extensions remain in place for reasons of back compatibility, but are not enabled by default. -- the bit at the end about 'not enabled by default' caught my eye. I need to check Mantis and see whether it uses PDO. I would think, not. You asked what PHP I upgraded from. I previously used the previous CSW release. 5.1 I believe. _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
