Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (52 - 54 of 299)

Ticket Resolution Summary Owner Reporter
#127 wontfix E_STRICT errors not caught by custom error handler moo c960657
Description

I use a custom error handler to mute E_STRICT errors generated by PEAR but display E_STRICT errors caused by my own code.

Without Xcache this works fine. When using Xcache not all errors are caught by the custom error handler.

<?php
function myErrorHandler($no, $msg, $file, $line) {
    if ($no == E_STRICT && strpos($file, '/pear/')) {
        // PEAR isn't E_STRICT compatible, so just ignore E_STRICT errors there
        return;
    }
    // Report error as usual
    // ...
}
set_error_handler('myErrorHandler');
require_once 'PEAR.php';
?>

When Xcache is enabled, PHP prints two error messages:

Strict Standards: Assigning the return value of new by reference is deprecated in /var/www/test.peytz.dk/pear/PEAR.php on line 569 Strict Standards: Assigning the return value of new by reference is deprecated in /var/www/test.peytz.dk/pear/PEAR.php on line 572

This only happens the first time the script is run after the cache has been emptied.

#86 fixed Enhance in xcache admin moo safari
Description

Currently, there's no way to unset/delete a var entry (data) in admin interface. Could you consider to add this feature?

#100 wontfix Error compiling xcache from source moo me
Description

Hi there,

I'm trying to compile xcache from source as described in "building from source" on your site. But something went wrong with make. There are several errors in the AUTOCONF output wich breaks the process.

yours Marc

[root@xxxxxxxx xcache-build]# ../xcache/configure --enable-xcache --enable-xcache-coverager
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for XCache support... yes, shared
checking for XCache optimizer... no
checking for XCache coverager... yes
checking for XCache assembler... no
checking for XCache disassembler... no
checking for XCache encoder... no
checking for XCache decoder... no
checking for XCache self test... no
checking for gawk... /bin/gawk
checking for m4... /usr/bin/m4
checking for grep... /bin/grep
checking for sed... /bin/sed
checking for indent... /usr/bin/indent
checking if you have opcode_spec_def.h for XCache... no
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool

appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating config.h
[root@xxxxxxxx xcache-build]# make
gcc -I. -I/usr/src/xcache -DPHP_ATOM_INC -I/usr/src/xcache-build/include -I/usr/src/xcache-build/main -I/usr/src/xcache -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2  -E /usr/src/xcache/includes.c -o ./includes.i
./structinfo.m4 is optional if XCache test is not enabled, feel free if it awk failed to produce it
/bin/gawk -f /usr/src/xcache/mkstructinfo.awk < ./includes.i > ./structinfo.m4.tmp && mv -f ./structinfo.m4.tmp ./structinfo.m4
/usr/bin/m4 -D srcdir="/usr/src/xcache" -D builddir="."  /usr/src/xcache/processor/main.m4 > ./processor.out.tmp
AUTOCHECK INFO: runtime autocheck Disabled (optimized build)
AUTOCHECK INFO: zend_compiled_variable: processor looks good
AUTOCHECK INFO: zend_try_catch_element: processor looks good
AUTOCHECK ERROR: ==== calc zend_brk_cont_element =================
AUTOCHECK expected: start,cont,brk,parent
AUTOCHECK missing : start
AUTOCHECK INFO: HashTable: processor looks good
AUTOCHECK INFO: zval: processor looks good
AUTOCHECK INFO: zend_arg_info: processor looks good
AUTOCHECK ERROR: ==== calc zend_property_info =================
AUTOCHECK expected: flags,name,name_length,h,doc_comment,doc_comment_len,ce
AUTOCHECK missing : ce
AUTOCHECK INFO: zend_class_entry: processor looks good
AUTOCHECK INFO: znode: processor looks good
AUTOCHECK INFO: zend_op: processor looks good
AUTOCHECK INFO: zend_op_array: processor looks good
AUTOCHECK INFO: xc_funcinfo_t: processor looks good
AUTOCHECK INFO: xc_classinfo_t: processor looks good
AUTOCHECK INFO: xc_entry_data_php_t: processor looks good
AUTOCHECK INFO: xc_entry_data_var_t: processor looks good
AUTOCHECK INFO: xc_entry_t: processor looks good
AUTOCHECK ERROR: ==== store zend_brk_cont_element =================
AUTOCHECK ERROR: ==== store zend_property_info =================
AUTOCHECK ERROR: ==== restore zend_brk_cont_element =================
AUTOCHECK ERROR: ==== restore zend_property_info =================
AUTOCHECK ERROR: ==== dprint zend_brk_cont_element =================
AUTOCHECK ERROR: ==== dprint zend_property_info =================
AUTOCHECK ERROR: ==== dasm zend_brk_cont_element =================
AUTOCHECK ERROR: ==== dasm zend_property_info =================
AUTOCHECK ERROR: ==== asm zend_brk_cont_element =================
AUTOCHECK ERROR: ==== asm zend_property_info =================
make: *** [processor.out] Error 1
[root@xxxxxxxx xcache-build]#
[root@xxxxxxxx xcache-build]# uname -a
Linux xxxxxxxx.serverkompetenz.net 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@xxxxxxxx xcache-build]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
[root@xxxxxxxx xcache-build]# php -v
PHP 5.2.3 (cli) (built: Jun 12 2007 15:52:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
[root@xxxxxxxx xcache-build]# php-cgi -v
PHP 5.2.3 (cgi-fcgi) (built: Jun 12 2007 15:51:56)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Note: See TracQuery for help on using queries.