WAMP, can't get errors

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

0sinner
Forum Newbie
Posts: 12
Joined: Tue Aug 18, 2009 4:06 pm

Re: WAMP, can't get errors

Post by 0sinner »

Another problem. I just redownloaded php 5.3.0

According to the installation instructions I should point the httpd.conf file to a file named php5apache2.dll

No such file exists in php 5.3.0. There is only php5apache2_2.dll (for apache 2.2).

Would this file work for 2.0.x as well as 2.2.x? If not do I need to downgrade my php version as well?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: WAMP, can't get errors

Post by Eran »

I think I downloaded the thread safe PHP
Thread safe is better. Usually the latest version take a while for thread safety to be added on
I just redownloaded php 5.3.0. There is only php5apache2_2.dll (for apache 2.2).
Somewhat surprising indeed... I wonder if that's by intention.
You could try downgrading to the latest 5.2+ (i think it's 5.2.10) or trying to reinstall apache 2.2 instead. Personally I run 2.2, but I did encounter the same problems and it was quite a while before I resolved it
0sinner
Forum Newbie
Posts: 12
Joined: Tue Aug 18, 2009 4:06 pm

Re: WAMP, can't get errors

Post by 0sinner »

pytrin wrote:... but I did encounter the same problems and it was quite a while before I resolved it
I don't suppose you remember how you fixed it? :)

Anyways I'm going to try to install 5.2.10. Will let you guys know either way.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: WAMP, can't get errors

Post by Eran »

I don't suppose you remember how you fixed it?
actually, I don't quite remember :)
It was about half a year ago, and it such a tedious process of trying different configuration options.. I think it might have been a corrupted database driver or something like that, but I honestly can't remember
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: WAMP, can't get errors

Post by Weirdan »

pytrin wrote:You're encountering segmentation faults, which plague the 2.2 line of apache. Something is probably causing this, but the source could be hard to track (for this reason I stayed on 2.0 for a long time).
Segmentation fault is very easy to track actually. You just configure apache to dump core, load the core file into gdb and type 'bt<enter>' (or 'thread apply all bt<enter>' if you use worker mpm). If php is built with debug symbols enabled those commands usually give you very precise place in php source (meaning C source of PHP interpreter) where error occurred.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: WAMP, can't get errors

Post by Eran »

I could have used this information half a year ago ;) I should probably bookmark this thread for future reference
Indivision
Forum Newbie
Posts: 1
Joined: Tue Jun 01, 2010 3:30 pm

Re: WAMP, can't get errors

Post by Indivision »

Hi, I had pretty much this exact same problem with Wampserver on XP. It seemed I could display some content but at a certain point, I'd get the server reset error, my apach log showed the server restarting again and again.

I downgraded form php 5.3.0 to 5.2.11 and the problem dissappeared.
Post Reply