PHP5 + APC = no links are working

Found a bug? Tell us!!
Post Reply
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

PHP5 + APC = no links are working

Post by Woody4u »

Hi
i have at the moment php 5.1.2 with APC 3.0.8 runnign as FastCGI via Lighttpd.
After activating APC the first hit on the blog is ok, but the second request(when apc loads the precompiled script) i got a strange behavior. no links are working, the css file does not load.

when i switch apc off everything is working normal

ps: s9y version 0.9.1 - and the exit.php is running fine
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: PHP5 + APC = no links are working

Post by garvinhicking »

Could it be a URL Rewriting issue? Did you configure s9y to use no URL rewriting?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

Post by Woody4u »

i test it with and without rewriting
but rewriting does not affect this problem

this was my first thougt
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, that's really strange. I think it must be a bug/issue with PHP5+APC then, as on my PHP4+APC installation and Apache it all works well.

How does the error show for you? Do you get error messages, coredumps, ...?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

Post by Woody4u »

no errors

error reporting is E_ALL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

So you just get a blank page when clicking on a link?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

Post by Woody4u »

all links are showing the startsite
also the css links - so no style is working
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Well, I would blame it on APC then, or the APC+PHP5 combination.

Did you try another PHP accelerator like eAccelerator or so?

I don't see anything where Serendipity could be guilty :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

Post by Woody4u »

i think also that apc is the bad guy

and eaccelerator wont compile
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Did you contact the authors of APC for a bugreport? Maybe it doesn'T operate well in a FastCGI environment?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Woody4u
Regular
Posts: 6
Joined: Thu Mar 02, 2006 11:49 am
Location: Germany
Contact:

Post by Woody4u »

it seems that the problem is gone after update to APC-3.0.9
Post Reply