Moodle crash error

Moodle crash error

by Vic Vicenzi -
Number of replies: 7

I am running Moodle 2.4 on a Windows Server 2008 R2 SP1 box.

 

I get this error since students have returned and are using Moodle:

 

Faulting application name: httpd.exe, version: 2.2.17.0, time stamp: 0x4cbbe9e8
Faulting module name: php_eaccelerator.dll, version: 0.0.0.0, time stamp: 0x4d27932f
Exception code: 0xc0000005
Fault offset: 0x0000d8a0
Faulting process id: 0xd10
Faulting application start time: 0x01cea369cd74d2a4
Faulting application path: M:\moodle24\server\apache\bin\httpd.exe
Faulting module path: M:\moodle24\server\php\ext\php_eaccelerator.dll
Report Id: 6648ea33-0ff4-11e3-b40c-d8d3855ce43d

 

Can anyone help me diagnose and fix the issue?

 

Thank you soo much!

Average of ratings: -
In reply to Vic Vicenzi

Re: Moodle crash error

by jason everling -

eAccelerator is the cause of your crash. You should remove eAccelerator from your php config file and restart Apache. After you verify that it is up and running you should switch to APC,

http://docs.moodle.org/24/en/Installing_APC_in_Windows

JASON

 

In reply to jason everling

Re: Moodle crash error

by Vic Vicenzi -

Jason, thank you.

 

I am using the XAMPP suite. Can i still customze php ?

Im a novice to the moodle world, and with some of these apps.

 

Vic

In reply to Vic Vicenzi

Re: Moodle crash error

by jason everling -

Sure, Remove the eAccelerator from the php.ini and restart XAMPP. Make sure it starts up correctly and you can login.

After which you can now go and install APC, here is one for XAMPP,

http://www.devskills.com/2011/10/how-to-install-php-apc-xampp-windows.html

You can also install the Moodle APC Plugin to make use of all the other cache's

https://moodle.org/plugins/view.php?plugin=cachestore_apc

JASON

In reply to Vic Vicenzi

Re: Moodle crash error

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If this is a 'production' server you should not be using XAMPP. It's only designed (and configured) for development and testing. It's highly likely to give you problems under load. 

In reply to jason everling

Re: Moodle crash error

by Vic Vicenzi -

Jason-

 

Do you have experience with the the process of making this change? I am super new to Moodle and have very little experience with php etc?

Thanks

Vic

In reply to Vic Vicenzi

Re: Moodle crash error

by jason everling -

Yes, I can help if you cannot get the below to work, just shoot me a message with your email address and phone number and a good time to reach you.

Open your php.ini that is in the xammp package under \XAMMP\php\ and add a ; right before extension=eaccelerator.dll so it looks like

;extension=eaccelerator.dll

This will disable it and then you can restart XAMPP. After which go ahead and login and make sure everything is working. If it running fine without a cache since you have a small number of users just leave it alone.

Also, since you are on Server 2008 r2 , the best route is to use IIS/PHP/MYSQL installed locally and not through XAMMP,

Thanks,

Jason

 

In reply to jason everling

Re: Moodle crash error

by Vic Vicenzi -

Thanks Jason!

I can be reached at vicenziv@region-12.org and by phone at 860-868-6220.

I definitely have a few questions regarding this.

Vic