Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.2.2 Crashes |
|
Author |
|
trib4lmaniac
Joined: 14 Jun 2006 Posts: 1 Location: Cornwall, UK
|
Posted: Wed 14 Jun '06 21:25 Post subject: Apache 2.2.2 Crashes |
|
|
After installing Apache 2.2.2 from the precompiled Win32 binaries and configuring PHP, MySQL and the like on a brand new, fresh Windows XP install, I came across a niggling error when stopping the the Apache2.2 service; i.e., it crashed.
Thankfully - by process of elimination - I've discovered the source of this problem. It only happens when I have the Tidy extension loaded by PHP. When I recommenting the line "extension=php_tidy.dll" in my php.ini the problem went away.
I have no idea why this causes Apache to crash, but I have seen a couple of other people with the same problem and this may help them.
Also, perhaps someone with a bit more insight could investigate just as to why this happens. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 14 Jun '06 21:59 Post subject: |
|
|
Thanks for sharing with us.
When PHP is installed as SAPI (module), it runs in the same process and adrdress space as Apache, so "badly" written extensions (eg. not completely thread-safe) can bog down the server processes and also with huge memory leaks. The php-manual warns for this when you run PHP as SAPI and suggests, when you run in problems, to run PHP as CGI.
Steffen |
|
Back to top |
|
thesilence
Joined: 15 Jun 2006 Posts: 1
|
Posted: Thu 15 Jun '06 7:26 Post subject: still crashing... |
|
|
my system>
Windows 2000 with service pack 4
Apache 2.2.2
php 5.1.4
mysql 5
After comenting the extension extension=php_tidy.dll, apache is still crashing after i stop the service.
thnx in advance. |
|
Back to top |
|
|
|
|
|
|