Page 1 of 1
PHP5 + APC = no links are working
Posted: Thu Mar 02, 2006 11:54 am
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
Re: PHP5 + APC = no links are working
Posted: Thu Mar 02, 2006 11:57 am
by garvinhicking
Could it be a URL Rewriting issue? Did you configure s9y to use no URL rewriting?
Regards,
Garvin
Posted: Thu Mar 02, 2006 11:59 am
by Woody4u
i test it with and without rewriting
but rewriting does not affect this problem
this was my first thougt
Posted: Thu Mar 02, 2006 12:02 pm
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
Posted: Thu Mar 02, 2006 12:15 pm
by Woody4u
no errors
error reporting is E_ALL
Posted: Thu Mar 02, 2006 12:28 pm
by garvinhicking
So you just get a blank page when clicking on a link?
Regards,
Garvin
Posted: Thu Mar 02, 2006 12:34 pm
by Woody4u
all links are showing the startsite
also the css links - so no style is working
Posted: Thu Mar 02, 2006 12:37 pm
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
Posted: Thu Mar 02, 2006 12:55 pm
by Woody4u
i think also that apc is the bad guy
and eaccelerator wont compile
Posted: Thu Mar 02, 2006 1:04 pm
by garvinhicking
Did you contact the authors of APC for a bugreport? Maybe it doesn'T operate well in a FastCGI environment?
Regards,
Garvin
Posted: Tue Mar 07, 2006 3:17 pm
by Woody4u
it seems that the problem is gone after update to APC-3.0.9