Attempting to run setup wizard crashes Apache

Author Message

Dmitry Yakovlev

Thursday 16 February 2006 4:38:24 am

Trying to install eZ 3.7.3 on WindowsXP with Apache 1.3.34 and PHP 4.4.2 using setup wizard gives me <Memory could not be "read"> Apache application whenever I click to the Finetune or Next buttons on the welcome screen of the wizard.
I've tried to reserve more for PHP scripts and allowed more execution time for them, but it did not help. I've tried commenting out Rewrite rules - didn't help.
I'm using Virtualhost setup given in ez documentation. My machine has 512 Mb memory and Athlon 2500+ chip.
Searching through the ez site did not give me any clue, what can be the source of the problem. Any suggestions?

Hans Melis

Thursday 16 February 2006 6:03:47 am

Hi Dmitry,

I encountered the same issue when trying to install eZ publish at home. It's a bug in PHP 4.4.2 that affects file opening functions such as fopen(). There are several PHP bug reports, here's one of them http://bugs.php.net/bug.php?id=36017.

eZ publish failed for me when testing for AcceptPathInfo (see Apache error log and access log for clues), but it can fail anywhere fopen() is used. If the Apache logs tell you what it was doing, go to kernel/setup/ezsetuptests.php and search for fopen() in the relevant test. Comment out the fopen() call and make sure the test returns <b>true</b> (at least for now). That should get you going.

Hans
http://blog.hansmelis.be

Dmitry Yakovlev

Thursday 16 February 2006 6:27:34 am

Hans! Thanks for the clue you have provided!
PHP 4.4.2. and fopen bug was exactly the case. I've installed one of the latest PHP snapshots, where the bug is fixed, and now everything works fine for me.

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:47:34
Script start
Timing: Jan 19 2025 09:47:34
Module start 'layout'
Timing: Jan 19 2025 09:47:34
Module start 'content'
Timing: Jan 19 2025 09:47:35
Module end 'content'
Timing: Jan 19 2025 09:47:35
Script end

Main resources:

Total runtime0.6329 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.0059 590.5234152.6563
Module start 'layout' 0.00590.0034 743.179739.5078
Module start 'content' 0.00930.6221 782.6875529.9609
Module end 'content' 0.63140.0015 1,312.648412.1094
Script end 0.6329  1,324.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5381160.0002
Check MTime0.00130.2129160.0001
Mysql Total
Database connection0.00070.118010.0007
Mysqli_queries0.587792.8521570.0103
Looping result0.00060.0916550.0000
Template Total0.596694.320.2983
Template load0.00200.321620.0010
Template processing0.594593.930320.2973
Template load and register function0.00020.037610.0002
states
state_id_array0.00110.176610.0011
state_identifier_array0.00170.265420.0008
Override
Cache load0.00170.2699150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.085420.0003
Fetch class attribute name0.00140.225340.0004
XML
Image XML parsing0.00060.094320.0003
class_abstraction
Instantiating content class attribute0.00000.001740.0000
General
dbfile0.00090.1406150.0001
String conversion0.00000.001440.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs