Problem with APC [SOLVED!]
Problem with APC [SOLVED!]
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.
Re: Problem with APC
No clue, anyone?
Re: Problem with APC
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.
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Problem with APC
And please follow the forum rules when posting.
"doesn't seem to like it" doesn't tell us anything.
"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.
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.
Re: Problem with APC
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.
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.
Re: Problem with APC
Hi Pierre,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.
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.
Re: Problem with APC
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!
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!
