Apache crashes when defining directories during installation

Apache crashes when defining directories during installation

by Ian Leonero -
Number of replies: 6

Hi, I am new to moodle and I hope you can help me with my problem.

I am trying to install moodle 1.6 on a Windows XP (just to test but will install later on a production Windows 2003 server) and whenever I click the Next button at the moodle installation page where the moodle and data directories are entered, an error occurs and Apache crashes and restarts.

The following directories are what I defined:

web address: http://localhost/moodle

Moodle Directory: C:\Program Files\Apache Group\Apache2\htdocs\moodle

Data Directory: C:\Program Files\Apache Group\Apache2\htdocs\moodledata

The ff are arlready installed on my PC:

   Apache 2,   PHP 4.4.2,  MySQL 4.1

I know my current apache-php-mysql works because I have installed joomla on it and its working.

Looking at the apache web server error logs, this is the only error message being displayed:

[Mon Jul 10 10:38:49 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Jul 10 10:38:50 2006] [notice] Apache/2.0.55 (Win32) PHP/4.4.2 configured -- resuming normal operations

I have manually created the Data Directory but the problem still happens.

Hope anyone can help thanks a lot!

Average of ratings: -
In reply to Ian Leonero

Re: Apache crashes when defining directories during installation

by Stephen Scherer -
I ran into this problem as well, and it may be something to do with the compression settings in your php.ini file.  See what happens if you uncomment the following line:

extension=php_zip.dll
In reply to Ian Leonero

Re: Apache crashes when defining directories during installation

by Ken Wilson -

Hi Ian

Error 3221225477 is likely to be as a result of PHP variable stack getting corrupted. In addition to Stephen's suggestion about compression, check these:

1. If you are using Zend Optimizer, try commenting out the lines in php.ini.
2. Make sure that php.ini is in c:\php folder (set the environment path so that c:\php is at the start of the path and add the relevant registry path - see the PHP install FAQ)
3. Check for other compression settings in php.ini, e.g. output_handler, zlib.output_compression, and disable them.

Remember that after changing the path you need to reboot your PC and after changing php.ini you should restart apache.

HTH

Ken

In reply to Ken Wilson

Re: Apache crashes when defining directories during installation

by Jim McNeill -

I've run into this problem too. I was trying to install v6 on a W2K server, which just gives a blank page after the locations page, so I tried on WXP instead, which crashes as above. Enabling zip and switching off other compression has no effect - Apache still crashes.

I also tried to to download the previous 5.4 version to see it that works, but the download pages don't seem to work for 5.4.

Not a lot of luck so far. Does anyone know of a working release for WXP/Apache2?

In reply to Jim McNeill

Re: Apache crashes when defining directories during installation

by Jim McNeill -

On a test system, downgraded PHP from 4.4.2 to 4.4.1 and the problem was resolved. Have to figure out what to do on my live server.

In reply to Jim McNeill

Re: Apache crashes when defining directories during installation

by Panagiotis Iliopoulos -
Yeah I have run into the same problem and still no luck in fixing it. I am only able to install moodle by copy/pasting he directory of moodle, renaming it and then do all the upgrades.

It also occurs when I am in the trying to download a new lang pack directly from my moodle install and not only when I am trying to install it.

Ever since I have installed PHP 4.4.2 I am not able to make a clean new installation.

I see that downgrading a version works. What if I upgrade a version? Maybe moving on to 4.4.4?

Will that fix it? I might try it and I'll post what happens.

Panos.
In reply to Panagiotis Iliopoulos

Re: Apache crashes when defining directories during installation

by Panagiotis Iliopoulos -
Well I upgraded to PHP 4.4.4 and the problem was solved big grin

Maybe it has something to do with the 4.4.2 version, anyway a simple upgrade will solve the problem.