Solved

PHP APC and rfc1867

Posted on 2011-02-17
2
928 Views
Last Modified: 2012-05-11
hi,

I'm installed the PHP APC extension on a server that's running plesk. I've edited the php.ini file so that it loads the extension and enables rfc 1867, however, for some reason phpinfo shows that APC is enabled, but doesn't show that rfc1867 is enabled.

I've had a similar problem in the past where Apache was setup as CGI, however I've checked and apache is using Apache 2.0 Handler.

Does anyone have any ideas why rfc1867 isn't appearing in the phpinfo?
APC Support	enabled
Version	3.1.6
APC Debugging	Disabled
MMAP Support	Enabled
MMAP File Mask	no value
Locking type	pthread mutex Locks
Revision	$Revision: 303642 $
Build Date	Feb 8 2011 20:25:38

Directive	Local Value	Master Value
apc.cache_by_default	On	On
apc.canonicalize	On	On
apc.coredump_unmap	Off	Off
apc.enable_cli	Off	Off
apc.enabled	On	On
apc.file_md5	Off	Off
apc.file_update_protection	2	2
apc.filters	no value	no value
apc.gc_ttl	3600	3600
apc.include_once_override	Off	Off
apc.lazy_classes	Off	Off
apc.lazy_functions	Off	Off
apc.max_file_size	1M	1M
apc.mmap_file_mask	no value	no value
apc.num_files_hint	1000	1000
apc.preload_path	no value	no value
apc.report_autofilter	Off	Off
apc.shm_segments	1	1
apc.shm_size	32M	32M
apc.slam_defense	On	On
apc.stat	On	On
apc.stat_ctime	Off	Off
apc.ttl	0	0
apc.use_request_time	On	On
apc.user_entries_hint	4096	4096
apc.user_ttl	0	0
apc.write_lock	On	On

Open in new window

0
Comment
Question by:SheppardDigital
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
SheppardDigital earned 0 total points
ID: 34914845
I've managed to resolve this myself. It turned out that the server needed to be running the latest version 5.2 of PHP, so I removed the extension, updated php, installed apc again and restarted the server.

It was simple.

pecl uninstall apc
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
yum update php
pecl install apc

then I checked to make sure that I had these lines in my php.ini file
extension=apc.so
apc.rfc1867 = On
0
 

Author Closing Comment

by:SheppardDigital
ID: 34914848
Resolved this issue myself
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question