Modify

Ticket #40 (closed defect: wontfix)

Opened 6 years ago

Last modified 6 years ago

Phing don't work while zend.ze1_compatibility_mode = On

Reported by: orajo(at)wp(dot)pl Owned by:
Priority: blocker Milestone: 2.2.0
Component: Version: 2.2.0RC2
Keywords: startElement, ze1_compatibility_mode Cc:

Description

If I have zend.ze1_compatibility_mode = On in my php.ini phing gives me such error: Fatal error: Call to a member function startElement() on a non-object in c:\usr\php5\PEAR\phing\parser\AbstractSAXParser.php on line 77

This happes in 2.2RC1 and RC2, PHP 5.0.2, 5.1.2 and 5.1.4.

If I turn this option off and run phing with -debug parameter I get many errors about static call of non-static methods: [PHP Error] Non-static method ProjectConfigurator::configure() should not be called statically, assuming $this from incompatible context [line 92 of c:\usr\php5 \PEAR\phing\RuntimeConfigurable.php]

My system: Windows XPSP2, PHP 5.1.4, phing 2.2RC2, pear 1.4.9

Attachments

Change History

comment:1 Changed 6 years ago by mrook

  • Status changed from new to closed
  • Resolution set to wontfix

Hi,

We do not support running Phing on an installation with 'zend.ze1_compatibility_mode = On', as this significantly influences the way the Zend engine operates, and effectively turns PHP5 into PHP4.

As for the other problems, see issue #38.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.