php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48812 php-5.2.10 prevents phpMyAdmin login
Submitted: 2009-07-06 09:00 UTC Modified: 2009-07-06 12:19 UTC
From: strube at physik3 dot gwdg dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.2.10 OS: Solaris 10 SPARC
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: strube at physik3 dot gwdg dot de
New email:
PHP Version: OS:

 

 [2009-07-06 09:00 UTC] strube at physik3 dot gwdg dot de
Description:
------------
After upgrading php from 5.2.9 to 5.2.10, login to phpMyAdmin 2.11.9.5 (with auth_type=cookie) does not work any more (both CGI and FCGI). It always reverts to the login screen, including the message "Cookies must be enabled past this point" (normally only shown initially), but NOT the message "Error #1045 - Access denied for user" (normally shown with authentication errors).
Although this has so far been the only application where I found malfunction and I cannot pinpoint the source of this behaviour, I think this is an important bug.
Compilation was done with Sun Studio/Forte 7 in the same way as for previous php5 versions (separately for CGI and FCGI). As I noticed that a new CFLAGS option "-xmemalign=8s" had been introduced in 5.2.10, I recompiled without this option for testing, but without any effect. Also I undid the changes of 5.2.10 in sapi/cgi/cgi_main.c concerning the CGI environment, again without effect. Using mysqli instead of mysql also did not help (in fact, it seems that no authentication connection to MySQL was attempted at all). As I use MySQL 4.1.22, I cannot test with phpMyAdmin 3.x, with requires MySQL 5.x.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-06 09:14 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

This is likely because the year in the cookie is \"0\". This is only an issue on big-endian systems, and should be fixed in CVS>
 [2009-07-06 12:01 UTC] strube at physik3 dot gwdg dot de
Yes, the bug is fixed in snapshot php5.2-200907060830, thanks a lot!
However, I do not like using snapshots for a production web server and rather stay with 5.2.9.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 15:00:02 2025 UTC