Bug 169253

Summary: lang/php5: PHP 5.4.4 xcache broken
Product: Ports & Packages Reporter: Serge Sitnikov <serge.sitnikov>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Serge Sitnikov 2012-06-20 06:00:25 UTC
PHP 5.4.4 xcache broken
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-06-20 06:59:11 UTC
State Changed
From-To: open->feedback

To which port does this apply?  php5? 

What error message do you see?
Comment 2 Serge Sitnikov 2012-06-20 07:47:15 UTC
PHP Warning:  xcache_get(): xcache.var_size is either 0 or too small
to enable var data caching in /foo/bar.php

phpinfo says that xcache support enabled.
Comment 3 Alex Dupre 2012-06-20 09:18:58 UTC
Have you rebuilt xcache after updating php?

-- 
Alex Dupre
Comment 4 Serge Sitnikov 2012-06-20 16:05:55 UTC
Yes, I did.

phpinfo() gives:

XCache Support  enabled
Version 2.0.0
Modules Built   cacher
Readonly Protection     N/A
Cache Init Time 1970-01-01 03:00:00
Cache Instance Id       0
Opcode Cache    disabled
Variable Cache  disabled
Shared Memory Schemes   (null)

but php -i | grep xcache gives only:

/usr/local/etc/php/xcache.ini

php -v reports no xcache:

PHP 5.4.4 (cli) (built: Jun 20 2012 07:32:50)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

Pretty strange.
Comment 5 Serge Sitnikov 2012-06-20 16:55:48 UTC
And yes, the port is php5.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2012-06-21 02:56:11 UTC
State Changed
From-To: feedback->open

Over to maintainer. 


Comment 7 Mark Linimon freebsd_committer freebsd_triage 2012-06-21 02:56:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale
Comment 8 Serge Sitnikov 2012-06-26 14:13:04 UTC
Sorry guys, the problem is somehow connected to igbinary php module. I
have disabled it and everything is just fine now.
Comment 9 Alex Dupre freebsd_committer freebsd_triage 2012-06-26 15:01:46 UTC
State Changed
From-To: open->closed

Closed per submitter request.