Run this on both your development machine and the production machine that's
having issues:

#!/usr/bin/php
<?php
print 'PHP version ' . phpversion() . "\n";

if (extension_loaded('SPL')) {
    print "SPL present\n";
} else {
    print "SPL NOT present\n";
}

if (interface_exists('IteratorAggregate')) {
    print "IteratorAggregate present\n";
} else {
    print "IteratorAggregate NOT present\n";
}

My results:

$ ./test.php
PHP version 5.2.6
SPL present
IteratorAggregate present

Incidentally, IteratorAggregate does NOT appear in my `php -i` results.

-Matt

2008/11/12 kirpit <[EMAIL PROTECTED]>

> Hi Till,
>
> SPL is installed and enabled as default as Matthew mentioned. And all the
> extentions are fine. You may check by yourself;
> http://sergistan.com/server.php
>
> 13 Kasım 2008 Perşembe 01:20 tarihinde till <[EMAIL PROTECTED]> yazdı:
>
> 2008/11/12 kirpit <[EMAIL PROTECTED]>:
>> > Hi Matthew,
>> >
>> > Thank you for the reply.I have tried on two different shared hosts. Both
>> > stucks on action helper line in bootstrap. Both doesn't look like
>> > having Gentoo whatever, both is running PHP 5.2+ and both are SPL
>> enabled.
>> > I'm sorry to say that but i'm kind of pissed off with ZF here... I don't
>> > know what to do that we spent like 3 months for this project. Sad.
>>
>> And the hosts can't install the *standard* PHP library?
>>
>> I'm sure they will do it on request.
>>
>> Also, just to make sure you know about the requirements, check this link:
>> http://framework.zend.com/manual/en/requirements.html
>>
>> Till
>> >
>> > 2008/11/12 kirpit <[EMAIL PROTECTED]>
>> > ---------- Yönlendirilmiş ileti ----------
>> > From: Matthew Weier O'Phinney <[EMAIL PROTECTED]>
>> > To: [email protected]
>> > Date: Wed, 12 Nov 2008 14:31:28 -0500
>> > Subject: Re: [fw-general] Bootstrap Action HelperBroker stops execution
>> on
>> > production server
>> > -- kirpit <[EMAIL PROTECTED]> wrote
>> > (on Wednesday, 12 November 2008, 07:05 PM +0200):
>> >> I'm trying to install my first ZF project to many production server and
>> it
>> >> looks like ZF is only for development enjoyment. No one had any idea
>> about
>> >> following issue;
>> >> http://www.nabble.com/
>> >>
>> >>
>> Interface-'IteratorAggregate'-not-found-error-in-production-server-td20431706.html
>> >
>> > IteratorAggregate is an interface from PHP's SPL (standard PHP library)
>> > which is included in default installs of PHP since 5.0. Please check the
>> > PHP version on your production server.
>> >
>> > BTW, Gentoo notoriously disables SPL in their defaults builds -- you
>> > have to add it as an emerge option.
>> >
>> >> So i'm trying to install to one another shared hosting service again
>> with
>> >> pain.
>> >> This time the problem is about nothing. Yes, nothing outputs. No freaky
>> >> null
>> >> empty nothing response body with http code 200. After debugging
>> bootstrap
>> >> file
>> >> line by line i'm stucted at
>> >> Zend_Controller_Action_HelperBroker::addPath(...);
>> >>
>> >> try {
>> >> echo 'echo 1'; // echoes
>> >> Zend_Controller_Action_HelperBroker::addPath('./library/Helpers',
>> >> 'Helper');
>> >> echo 'echo 2'; // never echoes on production server
>> >> } catch(Exception $error) {
>> >> print_r($error); // and never catch any error
>> >> }
>> >>
>> >> I'm sure there are other issues coming up but i please ask for help in
>> >> this one
>> >> for now.
>> >
>> > --
>> > Matthew Weier O'Phinney
>> > Software Architect | [EMAIL PROTECTED]
>> > Zend Framework | http://framework.zend.com/
>> >
>> >>
>> >> Hi,
>> >>
>> >> I'm trying to install my first ZF project to many production server and
>> it
>> >> looks like ZF is only for development enjoyment. No one had any idea
>> about
>> >> following issue;
>> >>
>> >>
>> http://www.nabble.com/Interface-'IteratorAggregate'-not-found-error-in-production-server-td20431706.html
>> >>
>> >> So i'm trying to install to one another shared hosting service again
>> with
>> >> pain. This time the problem is about nothing. Yes, nothing outputs. No
>> >> freaky null empty nothing response body with http code 200. After
>> debugging
>> >> bootstrap file line by line i'm stucted at
>> >> Zend_Controller_Action_HelperBroker::addPath(...);
>> >>
>> >> try {
>> >>  echo 'echo 1'; // echoes
>> >>  Zend_Controller_Action_HelperBroker::addPath('./library/Helpers',
>> >> 'Helper');
>> >>  echo 'echo 2'; // never echoes on production server
>> >> } catch(Exception $error) {
>> >>  print_r($error); // and never catch any error
>> >> }
>> >>
>> >> I'm sure there are other issues coming up but i please ask for help in
>> >> this one for now.
>> >>
>> >> Cheers.
>> >>
>> >
>> >
>>
>
>

Reply via email to