[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PHP APC and rfc1867

Posted on 2011-02-17
2
Medium Priority
?
933 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

826 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