Where to edit php.ini file of Installer for Windows 9x/NT/2000/XP

Author Message

Børge Kjeldstad

Friday 02 April 2004 1:53:29 am

I have installed the Installer for Windows 9x/NT/2000/XP
but when i for instance try to visit this url:
http://localhost/index.php/corporate_admin
I get this error:
Fatal error: Maximum execution time of 60 seconds exceeded in c:\ezpublish\ezpublish\lib\ezxml\classes\ezxml.php on line 271

Fatal error: Maximum execution time of 60 seconds exceeded in c:\ezpublish\ezpublish\lib\ezutils\classes\ezexecution.php on line 157

Fatal error: Maximum execution time of 60 seconds exceeded in c:\ezpublish\ezpublish\lib\ezutils\classes\ezsession.php on line 75

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Question 1:
Has this something to do with the memory limit set in yhe php.ini file?

Question 2:
Where do I find the php.ini file of the bundled Installer for Windows 9x/NT/2000/XP?

Note:
I had tried doing a manual installation of eZ before doing the bundled one.
Hence I allready had Apache 1 & 2, mySQL, php, and eZ Publis 3.3-4 installed

Thank You : )
Børge

Ole Morten Halvorsen

Friday 02 April 2004 2:57:31 am

>Question 1:
>Has this something to do with the memory limit set in yhe php.ini file?
I would guess you get this error because it doesnt have enough time to create the translation cache.

Which os are you running? 98 or NT/2000/XP ? What are the hardware specs?

>Question 2:
>Where do I find the php.ini file of the bundled Installer for Windows 9x/NT/2000/XP?
It should be in your windows directory. Probably c:\winnt\php.ini or c:\windows\php.ini

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Børge Kjeldstad

Friday 02 April 2004 9:56:00 am

Oh, I forgot to mention... : )
Windows XP, PentiumIII ~800Mhz, 256 MB RAM

Do you think there could be any chance that my manual installation
affect the bundled installation in some way.

Cheers!
Børge

Lazaro Ferreira

Friday 02 April 2004 10:29:00 am

Hi,

I guess you can find it in one of two places your windows directory, or the same directory where your php was installed

You can always search your HD for this file, if more than one appears, you should determine which is one is the offending (look at its content, datemodified )

After locating it, you can double max_execution_time and memory_limit values, restart Apache and see

Lazaro
http://www.mzbusiness.com

Børge Kjeldstad

Tuesday 06 April 2004 12:20:54 pm

Hi and thank you for all good advices!
I found the php.ini in C:\WINDOWS on my windows XP machine.

So I set:

max_execution_time =60
max_input_time = 60
memory_limit =32M

Though, maybe the most important thing was to set (in php.ini):

magic_quotes_gpc = Off

I did see a note about this when I pressed the "finetune" button during installation, but as the note said that eZ would run even with magic_quotes_gpc = On, I did not imidiately do anything about it...

Well, I no have eZ running on this machine, and I am quite happy!!

Take care
Børge

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 31 2025 08:06:38
Script start
Timing: Jan 31 2025 08:06:38
Module start 'layout'
Timing: Jan 31 2025 08:06:38
Module start 'content'
Timing: Jan 31 2025 08:06:38
Module end 'content'
Timing: Jan 31 2025 08:06:38
Script end

Main resources:

Total runtime0.0146 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.6172151.2734
Module start 'layout' 0.00460.0026 739.890636.7266
Module start 'content' 0.00720.0062 776.617294.1406
Module end 'content' 0.01340.0012 870.757833.9922
Script end 0.0145  904.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002114.3119140.0001
Check MTime0.00106.5457140.0001
Mysql Total
Database connection0.00074.638110.0007
Mysqli_queries0.002215.414630.0007
Looping result0.00000.109610.0000
Template Total0.00096.210.0009
Template load0.00074.610310.0007
Template processing0.00021.557510.0002
Override
Cache load0.00053.258910.0005
General
dbfile0.002617.757380.0003
String conversion0.00000.062240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs