Forums / Install & configuration / Attempting to run setup wizard crashes Apache

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.