Solved

PHP APC and rfc1867

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scan php uploads for viruses 5 27
PHP Underscores vs. Directory separators 5 29
How do I remove "" from json_encode 5 23
How do I Check for duplicate entries in mysql 15 27
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

730 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