logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apach 2.2.15 is not launching with php5apache2_2.dll
Author
vbSteve



Joined: 09 Mar 2010
Posts: 1

PostPosted: Tue 09 Mar '10 16:33    Post subject: Apach 2.2.15 is not launching with php5apache2_2.dll Reply with quote

Today I upgraded my server software from Apach 2.0 to 2.2.15 and php 5.2 to 5.3.2

Apache server will launch without the php module, but when I try to add the php module to the configuration, the apache server gets an instant crash (you the one from microsoft saying some thing like "This application has caused an error blah blah blah, want to send a report?")

I've tried several things now, inluding reinstalling apache and php. I've tried several php 5.3.2 installer (vc6,vc9, thread safe & non-thread save), but all will end up with the same problem.

the error log from apahce doesn't say much either, and all the hosted websites are now off line for more than 12 hours allready, so i'm getting pretty desperate Sad I guess I could do a rollback to apache 2.0/php 5.2, but i'm really hoping to get this one to work.

PHP is installed in C:\PHP\5.3.2 with all its modules and extensions and Apache is installed in C:\Apache\Apache2.2
The configuration section that causes the crash is:
Code:

LoadModule php5_module "C:/PHP/5.3.2/php5apache2_2.dll"
PHPIniDir "C:/PHP/5.3.2"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5


If anyone could help me out what i should do, thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7404
Location: EU, Germany, Next to Hamburg

PostPosted: Thu 11 Mar '10 19:59    Post subject: Reply with quote

Is there anything in your error.log and something in your windows event log? Where did you download your apache?
Back to top
legriev



Joined: 15 Mar 2010
Posts: 2

PostPosted: Mon 15 Mar '10 21:20    Post subject: I have the same problem Reply with quote

I have a windows vista service pack 2. When Im loading this line

LoadModule php5_module "C:/php/php5apache2_2.dll"

Apache crashes. I installed Apache in c:\apache and php in c:\php.

Ive been stuck with this for 5 days now. Please I beg you to help me so I can start coding my program.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7404
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 15 Mar '10 22:06    Post subject: Reply with quote

Is there anything in your error.log and something in your windows event log? Where did you download your apache?
Back to top
legriev



Joined: 15 Mar 2010
Posts: 2

PostPosted: Tue 16 Mar '10 1:53    Post subject: downloaded it from www.apache.org Reply with quote

James Blond wrote:
Is there anything in your error.log and something in your windows event log? Where did you download your apache?


Apache VC9 nts.

here is the complete error code:

Log Name: Application
Source: Application Error
Date: 3/15/2010 4:48:56 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: ITSUPPORT
Description:
Faulting application httpd.exe, version 2.2.15.0, time stamp 0x4b8fed95, faulting module php5ts.dll, version 5.2.13.13, time stamp 0x4b853813, exception code 0xc0000005, fault offset 0x000f351c, process id 0xe0c, application start time 0x01cac49a1330f640.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-03-15T23:48:56.000Z" />
<EventRecordID>11582</EventRecordID>
<Channel>Application</Channel>
<Computer>ITSUPPORT</Computer>
<Security />
</System>
<EventData>
<Data>httpd.exe</Data>
<Data>2.2.15.0</Data>
<Data>4b8fed95</Data>
<Data>php5ts.dll</Data>
<Data>5.2.13.13</Data>
<Data>4b853813</Data>
<Data>c0000005</Data>
<Data>000f351c</Data>
<Data>e0c</Data>
<Data>01cac49a1330f640</Data>
</EventData>
</Event>


Please help me. I couldnt even start coding my PHP. Im behind 5 days on my schedule. Any help is greatly needed.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 16 Mar '10 7:01    Post subject: Reply with quote

hmmm ... you should be using thread safe php if your loading php5apache2_2.dll. use mod_fcgid with non-thread safe php.

loading non-thread safe php5*2_2.dll, if a thread crashes, it brings down apache.

Also, start with no php extensions loaded. I know you have to have some but start with none. If Apache starts then start adding on the ones you need.
I'm no php pro but I have learned just reading this forum that if php5ts.dll crashes, it is usually caused by an php extension.
Back to top


Reply to topic   Topic: Apach 2.2.15 is not launching with php5apache2_2.dll View previous topic :: View next topic
Post new topic   Forum Index -> Apache