The Los Angeles PHP Developers Group (LAPHP) Message Board › The PHP Technology Discussion Forum › FYI - PHPMyAdmin Version 3.1.1 with PHP 5.3
| Peter Kosenko | |
|
|
I just discovered that my PHPMyAdmin 3.1.1 doesn't work with PHP 5.3.
See errors below. I tried putting the @ (no error reporting) symbol before the two eregi() functions in the affected library script, but it kept returning the same error messages anyway. I guess "deprecated" isn't affected by the symbol. I had to update to the latest PHPMyAdmin 3.3.4 (which no longer uses the eregi() function). This is on my local (test) machine . . . so obviously not critical. I noticed web posts that there are similar function deprecation issues for Drupal 6. If you upgrade to 5.3, you apparently need also to upgrade to Drupal 7, which was JUST released! So . . . I would worry (of course) about going live on the web with PHP 5.3 before getting all the news about how your other programs behave with it (of course). ********** in .\libraries\select_lang.lib.php#147 Function eregi() is deprecated Backtrace .\libraries\select_lang.lib.php#147: eregi() .\libraries\select_lang.lib.php#81: PMA_langDetect( string en-us, integer 1, ) .\libraries\select_lang.lib.php#361: PMA_langCheck() .\libraries\common.inc.php#563: require_once(.\libraries\select_lang.lib .\index.php#34: require_once(.\libraries\common.inc.php) |
| Richard | |
|
|
It looks like you solved the problem by updating phpMyAdmin. But, for situations where updating an application isn't so easy, there are some other things to try.
Check the PHP settings for display_errors and error_reporting The default error level of PHP is (or should be) E_ALL & ~E_NOTICE, according to the PHP Manual. But, since PHP 5.3 there are now DEPRECATED messages, so you may need to go with something like: E_ALL & ~(E_NOTICE | E_DEPRECATED) There are various ways you can do this, but start with checking the settings in the php.ini file. Edited by Richard on Jul 3, 2010 7:47 AM |