Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#92 closed defect (fixed)

Xcache not working with Zend Optimizer 3.2.8

Reported by: adrianmoir Owned by: moo
Priority: major Milestone: 1.2.1
Component: cacher Version: 1.2-dev
Keywords: Cc:
Application: PHP Version:
Other Exts: SAPI:
Probability: Blocked By:
Blocking:

Description (last modified by moo)

Hi Have a problem trying to Xcache and Zend optimizer can you help?

Many Thanks,

Adrian.

Problem occurs post installation of Xcache upon apache restart.
Error posted in /var/log/httpd/error.log
   PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.2.8 is incompatible with
   XCache 1.2.0 in Unknown on line 0

PHP info.....

[root@Portal httpd]# php -v
PHP 5.1.6 (cli) (built: May  3 2007 10:03:49)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
[root@Portal httpd]# php-cgi -v
PHP 5.1.6 (cgi-fcgi) (built: May  3 2007 10:01:28)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

Apache Version

[root@Portal httpd]# httpd -v
Server version: Apache/2.2.3

Server is running on RedHat Enterprise V5 x86_64.

Change History (6)

comment:1 in reply to: ↑ description Changed 7 years ago by adrianmoir

Adrian Again,

O.K. I load Xcache before Zend Optimizer I get rid of my error but I now get a segmentation fault.

I'll post this on the Forum.

Cheers,

Adrian.

Replying to adrianmoir:

Hi Have a problem trying to Xcache and Zend optimizer can you help?

Many Thanks,

Adrian.

Problem occurs post installation of Xcache upon apache restart.
Error posted in /var/log/httpd/error.log

PHP Fatal error: [Zend Optimizer] Zend Optimizer 3.2.8 is incompatible with
XCache 1.2.0 in Unknown on line 0

PHP info.....

[root@Portal httpd]# php -v
PHP 5.1.6 (cli) (built: May 3 2007 10:03:49)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

[root@Portal httpd]# php-cgi -v
PHP 5.1.6 (cgi-fcgi) (built: May 3 2007 10:01:28)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

Apache Version

[root@Portal httpd]# httpd -v
Server version: Apache/2.2.3

Server is running on RedHat? Enterprise V5 x86_64.

comment:2 Changed 7 years ago by moo

  • Description modified (diff)
  • Milestone set to 2.0.0
  • Status changed from new to assigned

we are to fix it by excluding encoded files automatically

comment:3 Changed 7 years ago by moo

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in [405] for trunk and in [408] for b1.2

comment:4 Changed 7 years ago by moo

  • Milestone changed from 2.0.0 to 1.2.1

comment:5 Changed 7 years ago by vingrad

  • Resolution fixed deleted
  • Status changed from closed to reopened

I use revision 409 and I habe Debian 4, PHP5.2.0 and Zend 3.2.8.

Zend Optimizer 3.2.8 is incompatible with XCache 2.0.0-dev

comment:6 Changed 7 years ago by moo

  • Resolution set to fixed
  • Status changed from reopened to closed

make sure you load xcache with zend_extension=/path/to/xcache.so and before loading zend optimizer

adrianmoir had already reported that "O.K. I load Xcache before Zend Optimizer I get rid of Zend Optimizer 3.2.8 is incompatible with XCache" error already

Note: See TracTickets for help on using tickets.