phpmyadmin and php 4.2.1 (and 4.2.0) set_cookie bug

Problems with the Linux version of XAMPP, questions, comments, and anything related.

phpmyadmin and php 4.2.1 (and 4.2.0) set_cookie bug

Postby JoKoT3 » 05. July 2005 15:41

Hi there, I would know how do you plane to handle the php set_cookie bug in xampp.

It actually make phpmyadmin impossible to use with cookie authentification (the more secure way) : see 1.3 in phpmyadmin server faq

You can handle this bug easiely, recompiling php source with this hack (shown in the bug report) :

[3 May 2002 1:11am CEST] regina at hitel dot net

I did fix this problem by modifing "ext/standard/head.c".
The diff is below.
Code: Select all
--------------------------------------------------------
124c124
<       return sapi_add_header(cookie, strlen(cookie), 0);
---
>       return sapi_add_header_ex(cookie, strlen(cookie), 0, 0
TSRMLS_CC);
--------------------------------------------------------


PS) This bug should be killed at next version. May be....


Hope this will help.

Edit : Oups I forget to tell you this bug is patched in latests CVS versions.
JoKoT3
 
Posts: 1
Joined: 05. July 2005 14:58

Postby Wiedmann » 05. July 2005 15:59

I would know how do you plane to handle the php set_cookie bug in xampp.

There is no plan. Because PHP 4.2.1 is outdated already for a long time.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 24 guests