The Los Angeles PHP Developers Group (LAPHP) Message Board The PHP Technology Discussion Forum › FYI - PHPMyAdmin Version 3.1.1 with PHP 5.3

FYI - PHPMyAdmin Version 3.1.1 with PHP 5.3

Peter Kosenko
Posted Jul 2, 2010 5:02 PM
PeterKosenko
Santa Monica, CA
Post #: 9
Send an Email Post a Greeting
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.php)
.\index.php#34: require_once(.\libraries\common.inc.php)
Richard
Posted Jul 3, 2010 7:22 AM
synapp2
Aliso Viejo, CA
Post #: 5
Send an Email Post a Greeting
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.
Powered by mvnForum

Q - an IT & Digital Talent Firm

"Q" is generously sponsoring our February event

CoLoft

The CoLoft is now sponsoring our group and hosting our monthly meetings.

NoodleYard.com

NoodleYard is CoLoft's new job board!

Activo Extensions

Magento extensions for advanced merchants by Activo

IndieDesk

IndieDesk is coworking space in Downtown Los Angeles

Other nearby
Meetups
Why these groups?
x

The Meetup Groups shown here are topically similar to The Los Angeles PHP Developers Group (LAPHP).

Groups are more likely to be displayed here if they:

  • have a Meetup scheduled
  • have a high rating
  • have a group photo
  • are "public" and not "private"
  • have shown they are likely to stick around (older than 30 days)
Find more Meetup Groups
near Santa Monica

Log in

  • Not registered with us yet?
or

Log in to Meetup with your Facebook account.

Sign up

or

Join this Meetup Group even quicker with your Facebook account.

By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service