Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#273 closed defect (fixed)

xcache and phar

Reported by: grek Owned by: moo
Priority: major Milestone: 2.0.0
Component: cacher Version: 1.3.2
Keywords: phar Cc:
Application: phar PHP Version:
Other Exts: SAPI: Irrelevant
Probability: Always Blocked By:

Description (last modified by moo)

Hy i have problem with phar (webphar)

when i go first time to browser
i see image i click refresh

i see

Fatal error: Uncaught exception 'PharException' with message '__HALT_COMPILER(); must be declared in a phar' in /home/grek/public_html/projektMatura/dcms3.phar on line 8
PharException: __HALT_COMPILER(); must be declared in a phar in /home/grek/public_html/projektMatura/dcms3.phar on line 8
Call Stack: 0.0000 644720
1. {main}() /home/grek/public_html/projektMatura/dcms3.phar:0 0.0001 645432
2. Phar::webPhar() /home/grek/public_html/projektMatura/dcms3.phar:8 
  • when i uninstall php5-xcache problem gone,

i use ubuntu

PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012 03:26:01)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans

i found suoshin problem so add

suhosin.executor.include.whitelist="phar" to php.ini
but problem is connected to xcache
i try few times - always same sitation -
when xache is installed
first page show image (or any other file requestet with webphar acces example localhost://pharfile.phar/locationinsidephaer/somefile)
next refresh fatal error

Change History (4)

comment:1 Changed 8 years ago by moo

  • Milestone changed from 1.3.3 to 2.1.0

comment:2 Changed 8 years ago by moo

  • Milestone changed from 2.1.0 to 2.0.0
  • Status changed from new to assigned

comment:3 Changed 8 years ago by moo

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

this problem should have been fixed in 2.0.0

comment:4 Changed 8 years ago by moo

btw, try to add or remove --enable-xcache-constant from configure parameters if you still have problem

Note: See TracTickets for help on using tickets.