Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (58 - 60 of 299)

Ticket Resolution Summary Owner Reporter
#68 fixed [169] broke configure when XCache source is bundled in php moo gab
Description

The changeset 169 add in config.m4 a replacement from $AWK to LANG=C $AWK. This breaks the configure script at the end when building ./main/internal_functions{,_cli}.c :

./build/genif.sh: line 30: LANG=C: command not found

Because the full line with $AWK replaced becomes :

./build/genif.sh ./main/internal_functions.c.in .  LANG=C /bin/gawk (+full list of extensions)

Removing changes from changeset 169 on config.m4 solves the problem.

#69 invalid php fails to initialise correctly moo karlos
Description

Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xcache.so: undefined symbol: OnUpdateInt? PHP 5.2.1 (cli) (built: Feb 9 2007 10:46:40) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies [root@s88470 xcache]#

i'm fairly new to linux/php so let me know if you want anymore info - RHEL4

#70 invalid Authentication fails (user and password garbled in xcache.c::xcache_admin_auth_check()?!) moo blueyed
Description

I've just rebuilt PHP_5_2 and XCache from the 1.2 branch, but now the authentication for the admin pages fails.

I've added:
===================================================================
--- xcache.c    (Revision 357)
+++ xcache.c    (Arbeitskopie)
@@ -1558,6 +1558,8 @@
                pass = NULL;
        }

+               php_error_docref(NULL TSRMLS_CC, E_ERROR, "user: %s, password: %s", user, pass);
+               zend_bailout();
        if (user != NULL && pass != NULL && strcmp(admin_user, Z_STRVAL_PP(user)) == 0) {
                PHP_MD5_CTX context;
                char md5str[33];

And get something like:

Fatal error: xcache_count() [<a href='function.xcache-count'>function.xcache-count</a>]: user: äñT·`òT· ñT·\ÜT·, password: HòT·°òT·üñT·øàT· in /var/www/web7/web/xcache-admin/xcache.php on line 100
(The "binary blob" does change after a few request!)

Dumping $_SERVER itself in PHP does show the correct values for PHP_AUTH_USER and PHP_AUTH_PW.

I've configured XCache with just "./configure --enable-xcache --with-php-config=/usr/local/php52-fcgi/bin/php-config"

SVN trunk shows the same behaviour.

Maybe it's normal that the user/pass gets displayed as binary blob, when displayed like I've done it - but I would not expect it to change when I press F5 in the browser.

Note: See TracQuery for help on using queries.