Bug 127201

Summary: devel/ZendOptimizer doesn't work with php compiled with debug enabled
Product: Ports & Packages Reporter: Aleksandr Stankevic <alex>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Aleksandr Stankevic 2008-09-08 08:00:10 UTC
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

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.
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-08 08:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-09-08 08:39:31 UTC
ale         2008-09-08 07:39:23 UTC

  FreeBSD ports repository

  Modified files:
    devel/ZendOptimizer/files pkg-message.in 
  Log:
  Add a note about php in debug mode.
  
  PR:             ports/127201
  Submitted by:   Aleksandr Stankevic <alex@braske.net>
  
  Revision  Changes    Path
  1.2       +2 -0      ports/devel/ZendOptimizer/files/pkg-message.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2008-09-08 08:39:39 UTC
State Changed
From-To: open->closed

Committed, thanks.