Share » Forums » Install & configuration » PHP4.4.1 and Maximum execution time...

PHP4.4.1 and Maximum execution time exceeded

PHP4.4.1 and Maximum execution time exceeded

Monday 12 December 2005 1:46:30 pm - 5 replies

Author Message

Łukasz Serwatka

Tuesday 13 December 2005 11:32:15 pm

Try add at the beginning of index.php file php function:

//120 second
set_time_limit(120);

or

//unlimited
set_time_limit(0);

safe_mode must be off.

This should help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Harry van Irsel

Thursday 15 December 2005 9:43:31 am

I cann't try this anymore because my webhost company suspended my site because everytime the site was accessed it causes a server CPU overload.

Although performance never has been perfect, the site ran acceptable.
Problem occurred when the webhost implemented PHP 4.4.1.

I installed PHP 4.4.1 on my local computer and restored a backup from the production site.
On my local computer it works, but even there the site is remarkably (and unacceptable) slower as it was before.

People tipped me to look for another CMS but I'm almost certain that I never find another CMS with the same very rich functionality.
But on the other hand : Performance is everything !

Łukasz Serwatka

Thursday 15 December 2005 11:00:30 am

Harry, I suggest to look at the offer of hosting partners. eZ publish like other applications has some requirements ... With good, solid hosting the performance isn't a problem.

Look here:
http://ez.no/partner/worldwide_ez_publish_partners/(profile)/hosting

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Harry van Irsel

Tuesday 20 December 2005 12:48:02 pm

To prevent a misunderstanding : I believe webhosting is not the problem and my webhost company was very cooperative to fix the problem, but we got stuck....

After I backupped my site (incl. the databases) I threw away the whole site and cleaned up everything.
After that I installed 3.7.2, restored the databases, user settings and templates and var/storage parts.

The result is that I got my site back ! It works !
Only thing is that I didn't find the problem...

Thanks for the replies.

Frederik Holljen

Tuesday 20 December 2005 1:34:53 pm

Your problem was caused by a bug in PHP 4.4.1 that caused some foreach loops not to terminate properly when they should causing indefinite loops. We made a workaround for this problem in 3.7.2 which ultimately made your site work again.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu