Dear list members, PHP 5.4.0 released!
http://www.php.net/archive/2012.php#id2012-03-01-1 I have make a naive change for roundcube. install php 5.4.0 change nginx to new 5.4.0 php-fpm instanze try to use roundcube. I was unable to use the rc due to some Server errors. I got the following messages in my errorlog. ERROR: [02-Mar-2012 17:36:49 +0100]: IMAP Error: rcube::imap_init(true) is deprecated, use rcube::imap_connect() instead in /home/phpapps/installed/rc06rc/program/include/rcmail.php on line 639 (GET /rc06rc/?_task=settings&_action=plugin.serverinfo) Could this be the problem? What I also have seen are the following entries. #### [02-Mar-2012 16:37:15 UTC] PHP Strict Standards: Non-static method PEAR::setErrorHandling() should not be called statically in /home/phpapps/installed/rc06rc/program/include/iniset.php on line 131 [02-Mar-2012 16:37:15 UTC] PHP Strict Standards: Declaration of html_hiddenfield::show() should be compatible with html::show() in /home/phpapps/installed/rc06rc/program/include/html.php on line 377 [02-Mar-2012 16:36:53 UTC] PHP Strict Standards: Declaration of rcube_template::write() should be compatible with rcube_html_page::write($templ = '', $base_path = '') in /home/phpapps/installed/rc06rc/program/include/rcube_template.php on line 32 ### a lot of MDB2 lines. ### [02-Mar-2012 16:37:16 UTC] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/phpapps/installed/rc06rc/program/include/rcube_mdb2.php on line 713 [02-Mar-2012 16:37:16 UTC] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/phpapps/installed/rc06rc/program/lib/MDB2/Driver/mysql.php on line 1698 ... [02-Mar-2012 16:37:16 UTC] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/phpapps/installed/rc06rc/program/lib/MDB2/Driver/Datatype/Common.php on line 1227 ... [02-Mar-2012 16:37:16 UTC] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/phpapps/installed/rc06rc/program/lib/MDB2/Driver/mysql.php on line 1656 ... [02-Mar-2012 16:37:16 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/phpapps/installed/rc06rc/program/lib/MDB2/Driver/Datatype/Common.php on line 1221 ... #### Is it worth to try to migrate from MDB2 to PDO, would you accept such patches? Have anybody else try to use php 5.4? Best regards Aleks _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/8f4f07cd
