开发者

APC on Windows makes server terminate connection

开发者 https://www.devze.com 2023-01-01 23:13 出处:网络
I have a slight problem and cannot for the life of me figure out what is happening. I am running a Linux machine on a server with APC enabled. Everything works fine.

I have a slight problem and cannot for the life of me figure out what is happening. I am running a Linux machine on a server with APC enabled. Everything works fine.

Now when I enable APC on Windows the server starts terminating the connection. You know, the "Site currently unavailable" message Firefox spits out.

I tried the access logs, error logs and there is nothing there to indicate an error. How could APC influence on a server like this?

BTW: I have 开发者_StackOverflowa CMS on my local server/live server. On the live server it works great with APC. On the dev server the connection terminates. The strange thing is, simpler scripts execute just fine. The CMS is using CakePHP.

Any help would be very appreciated.


I tried the access logs, error logs and there is nothing there to indicate an error.

This is not very helpful - did you check to see if the request is logged at all?

Is every request to the webserver affected? Just the PHP scripts? All the PHP scripts?

My guess would be that you have the wrong version of APC installed or have loaded it along with another opcode cache (e.g. Zend optimizer)

C.

0

精彩评论

暂无评论...
验证码 换一张
取 消