Solved

PHP APC and rfc1867

Posted on 2011-02-17
2
925 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

808 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