Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2008 06:51:40 GMT
From:      Aleksandr Stankevic <alex@braske.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127201: devel/ZendOptimizer doesn't work with php compiled with debug enabled
Message-ID:  <200809080651.m886pekY008220@www.freebsd.org>
Resent-Message-ID: <200809080700.m8870Ant041114@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127201
>Category:       ports
>Synopsis:       devel/ZendOptimizer doesn't work with php compiled with debug enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 08 07:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Aleksandr Stankevic
>Release:        FreeBSD 7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD ports-test 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Sep  5 22:41:47 EEST 2008     alex@:/usr/src/sys/i386/compile/BEAST3  i386
>Description:
ZendOptimizer doesn't work when used with php compiled with debug enabled (ports tree updated on 20080905, tested with php 5.2.6 and ZendOptimizer 3.3.0a).

When enabled in php.ini, php doesn't load it and doesn't give any warnings or information about this. When telling php to manually load zend extension ( using -z ) it will spit an error:
Cannot load Zend Extension Manager - it does not contain debug information, whereas Zend does

>How-To-Repeat:
cd /usr/ports/lang/php5 && make WITH_DEBUG=YES install
cd /usr/ports/devel/ZendOptimizer && make install
follow the instructions of adding zendoptimizer to php.ini and run php -v - no zendoptimizer will be available

running "php -z /usr/local/lib/php/20060613-debug/ZendExtensionManager.so"  will show and error:
Cannot load Zend Extension Manager - it does not contain debug information, whereas Zend does

>Fix:
At least adding a warning about this to zendoptimizers pkg-message would be great, cause i had to scratch my head for a bit to find what's the problem.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809080651.m886pekY008220>