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

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

eZ debug

Timing: Jan 19 2025 07:15:39
Script start
Timing: Jan 19 2025 07:15:39
Module start 'content'
Timing: Jan 19 2025 07:15:40
Module end 'content'
Timing: Jan 19 2025 07:15:40
Script end

Main resources:

Total runtime0.1883 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 590.4609180.7891
Module start 'content' 0.00650.0063 771.250097.9141
Module end 'content' 0.01280.1754 869.1641527.9531
Script end 0.1882  1,397.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00371.9718200.0002
Check MTime0.00150.7976200.0001
Mysql Total
Database connection0.00090.483410.0009
Mysqli_queries0.139373.99351410.0010
Looping result0.00140.73931390.0000
Template Total0.174892.910.1748
Template load0.00100.505710.0010
Template processing0.173992.356410.1739
Override
Cache load0.00070.350010.0007
Sytem overhead
Fetch class attribute can translate value0.00090.497710.0009
XML
Image XML parsing0.00030.145510.0003
General
dbfile0.00442.3344200.0002
String conversion0.00000.003730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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