My hoster can't change php.ini to set max_execution_time. Is it possible to do something. My installation stopps at the last page.

Author Message

Evgen Chistyakoff

Wednesday 29 September 2004 1:41:47 pm

My hoster can't change php.ini to set max_execution_time. Is it possible to do something. My installation stopps at the last page, because the server can't generate my site.
My hoster's max_execution_time is only 30.
What shell I do?

Björn Dieding@xrow.de

Wednesday 29 September 2004 4:11:56 pm

Well that's a little bit more complicated, but you need to set it up manually.

cat doc/INSTALL

But the real problem might be that this can happen also after you clear the cache.

If this also happens you should find a new hoster.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Wednesday 29 September 2004 6:05:18 pm

You can try increasing the max_execution_time in the main eZ publish script, index.php.

Try adding a "set_time_limit(300);" as the second line before starting you instalation. e.g.

 
<?php
set_time_limit(300);
// Copyright (C) 1999-2004 eZ systems as. All rights reserved.
 

See http://au.php.net/manual/en/function.set-time-limit.php for more info on this function.

Note: This will not work if you are using php in safe_mode

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

bisk

Thursday 30 September 2004 4:03:15 am

try setting the max_execution_time in a .htaccess file in your root.

example:

php_value max_execution_time  60

Though this might not always work, depending on your hosters settings. Check with php info if the local value changed compared to the global.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Lazaro Ferreira

Thursday 30 September 2004 5:08:32 am

Hi,

Have you php command line access (php cli) ?

Lazaro

Lazaro
http://www.mzbusiness.com

Martin Ulrich

Thursday 30 September 2004 9:26:02 am

Im on shared serverspace. This is, what I write in my .htaccess (in ezroot)

<FilesMatch "\.(php|html?)$">
php_value memory_limit 40M
</FilesMatch>

<FilesMatch "\.(php|html?)$">
php_value max_execution_time 60
</FilesMatch>

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Lazaro Ferreira

Thursday 30 September 2004 10:06:54 am

Hi,

Does your ISP let you to override global php settings ?

Case yes, have you check is your local php vars are already working ?

You can run a tiny php script to execute phpinfo() php function, it will show your php settings including

max_execution_time

actual value

Lazaro
http://www.mzbusiness.com

Lazaro
http://www.mzbusiness.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 09:08:49
Script start
Timing: Jan 19 2025 09:08:49
Module start 'layout'
Timing: Jan 19 2025 09:08:49
Module start 'content'
Timing: Jan 19 2025 09:08:50
Module end 'content'
Timing: Jan 19 2025 09:08:50
Script end

Main resources:

Total runtime1.3573 sec
Peak memory usage4,096.0000 KB
Database Queries77

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 591.2578152.7500
Module start 'layout' 0.00600.0037 744.007839.6484
Module start 'content' 0.00971.3460 783.6563729.2344
Module end 'content' 1.35570.0016 1,512.890615.9531
Script end 1.3573  1,528.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2488160.0002
Check MTime0.00140.1006160.0001
Mysql Total
Database connection0.00120.089210.0012
Mysqli_queries1.279394.2546770.0166
Looping result0.00110.0829750.0000
Template Total1.320497.320.6602
Template load0.00210.154620.0010
Template processing1.318397.121920.6591
Template load and register function0.00030.019410.0003
states
state_id_array0.00100.072610.0010
state_identifier_array0.00160.120620.0008
Override
Cache load0.00170.1285470.0000
Sytem overhead
Fetch class attribute can translate value0.00080.055560.0001
Fetch class attribute name0.00190.143690.0002
XML
Image XML parsing0.00260.188960.0004
class_abstraction
Instantiating content class attribute0.00000.001390.0000
General
dbfile0.00180.1349220.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs