Problem with APC [SOLVED!]

General project discussion. NOT for help questions.
Post Reply
taufikp
Forum Members
Forum Members
Posts: 27
Joined: Tue May 01, 2007 2:52 am

Problem with APC [SOLVED!]

Post by taufikp »

I just installed APC (Alternative PHP Cache - a PHP op-code cache : php.net/apc) and CMSMS (version 1.2, Barbados) doesn't seem to like it. So I test it with my own framework and other scripts (bitweaver and boonex's dolphin) and they're working fine with APC. Is this a known problem and/or has this already fixed in the latest CMSMS?
Last edited by taufikp on Tue May 27, 2008 4:23 am, edited 1 time in total.
taufikp
Forum Members
Forum Members
Posts: 27
Joined: Tue May 01, 2007 2:52 am

Re: Problem with APC

Post by taufikp »

No clue, anyone?
Pierre M.

Re: Problem with APC

Post by Pierre M. »

Hello,

why not try CMSms 1.2.5 at least ?

In a very old post I've read Ted stating PHP opcode accelerators are good things. He was naming one, I don't remember which, but not the name you give.
Hope it helps.

Pierre M.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with APC

Post by calguy1000 »

And please follow the forum rules when posting.

"doesn't seem to like it" doesn't tell us anything.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
taufikp
Forum Members
Forum Members
Posts: 27
Joined: Tue May 01, 2007 2:52 am

Re: Problem with APC

Post by taufikp »

Sorry for not being clear. When I opened a CMSMS page in a browser, the request run in an endless loop and the requested page will never be loaded.

Here's the last line in Apache's access.log file:

127.0.0.1 - - [27/May/2008:09:30:41 +0700] "GET /cmsms HTTP/1.1" 301 369

By the way, my development system is a WinXP Pro SP2, running Apache/2.2.4, PHP/5.2.3, and MySQL 5.0.45.
taufikp
Forum Members
Forum Members
Posts: 27
Joined: Tue May 01, 2007 2:52 am

Re: Problem with APC

Post by taufikp »

Pierre M. wrote: Hello,

why not try CMSms 1.2.5 at least ?

In a very old post I've read Ted stating PHP opcode accelerators are good things. He was naming one, I don't remember which, but not the name you give.
Hope it helps.

Pierre M.
Hi Pierre,

I haven't try the latest version (1.2.5) yet. Probably one of the opcode accelerators Ted mentioned is eAccelerator? http://eaccelerator.net.

I'm trying APC because this is an official opcode cache for PHP, and will be included as part of PHP 6 distribution. Naturally I want to use it as much as I can in every PHP based website I develop.
taufikp
Forum Members
Forum Members
Posts: 27
Joined: Tue May 01, 2007 2:52 am

Re: Problem with APC

Post by taufikp »

I finally found the solution! The APC binary from pecl4win.php.net is not working well with CMSMS.

I found another site which provides almost all available PHP opcode cache in Windows binary format: http://www.sitebuddy.com/PHP/Accelerato ... ies_builds

So I downloaded the version which was compiled with PATH_MAX = 2048, and the never ending loop is now fixed! ;D
Post Reply

Return to “General Discussion”