Help! Can not set max_execution_time!

Author Message

Helena Vauchez

Thursday 26 June 2003 8:43:47 am

Hello,
I'd like to set the php max_execution_time to more than 30 secs.
But there is no php.ini file on my computer, nor can I find any other readable file containing "max_execution_time". There's just a ezpublish/php/php4ts.dll that contains the string...
I have installed the Windows2000 Installer /ezpublish-version 3.0.2 that includes Apache and PHP.
I also tried to override it with an .htaccess file - but that doesn't work either :-(
Does anybody know what's going on here?
Thanks in advance,
Helena

Karsten Jennissen

Thursday 26 June 2003 9:03:27 am

I think that the PHP installation uses default values if no php.ini is installed. Could be that this is the standard procedure for the installer package. There was a thread that told you to copy a php.ini from somewhere to your PHP installation (or is it /winnt?) and modify there.

Maybe somebody with a bit more insight into this could comment on the issue? :-)

Karsten

Helena Vauchez

Thursday 26 June 2003 10:14:05 am

Juhuu!
Dear Karsten,
i just tried out your suggestion - and it solved my problem!
I'm so glad about your fast reply!
Now I can edit the object again, that has so many locations (and there even have to be more!)
This is what I did:
get a php.ini file from http://cvs.php.net/co.php/php-src/
modify the max_execution_time value, leave the rest as it is
copy this file to C:\WINNT\php.ini
restart Apache
:-)
:-)
Helena

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 18 2025 16:11:28
Script start
Timing: Jan 18 2025 16:11:28
Module start 'layout'
Timing: Jan 18 2025 16:11:28
Module start 'content'
Timing: Jan 18 2025 16:11:29
Module end 'content'
Timing: Jan 18 2025 16:11:29
Script end

Main resources:

Total runtime1.0598 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.0391152.6406
Module start 'layout' 0.00640.0030 740.679739.4766
Module start 'content' 0.00931.0491 780.1563469.4609
Module end 'content' 1.05850.0012 1,249.61728.1406
Script end 1.0597  1,257.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3189160.0002
Check MTime0.00140.1325160.0001
Mysql Total
Database connection0.00060.060510.0006
Mysqli_queries1.016195.8839570.0178
Looping result0.00060.0578550.0000
Template Total1.023996.620.5120
Template load0.00200.190120.0010
Template processing1.021996.428320.5110
Template load and register function0.00010.011910.0001
states
state_id_array0.00080.080110.0008
state_identifier_array0.00170.163720.0009
Override
Cache load0.00170.1583290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.059020.0003
Fetch class attribute name0.00150.137030.0005
XML
Image XML parsing0.00030.028520.0002
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00070.0636100.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs