note 106240 deleted from apc.installation by danbrown
| From: | danbrown@php.net | Date: | Thu, 20 Oct 2011 20:00:51 +0000 |
| Subject: | note 106240 deleted from apc.installation by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184035@lists.php.net to get a copy of this message | ||
Note Submitter: rohtakdev
----
Hey folks,
This is all i did;
#sudo pecl install apc
downloading APC-3.1.9.tgz ...
Starting to download APC-3.1.9.tgz (155,540 bytes)
.................................done: 155,540 bytes
54 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
and then the whole built process ..
Asked me a bunch of questions though :
Enable internal debugging in APC [no] : no
Enable per request file info about files used from the APC cache [no] : no
Enable spin locks (EXPERIMENTAL) [no] : no
Enable memory protection (EXPERIMENTAL) [no] : no
Enable pthread mutexes (default) [yes] : no
Enable pthread read/write locks (EXPERIMENTAL) [no] : no
After this i just added apc.so to php.ini and restarted my apache.
My System info:
Linux version 2.6.18-194.11.3.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red
Hat 4.1.2-48)) #1 SMP Mon Aug 30 16:19:16 EDT 2010
Also this is what i got in phpinfo:
122:apc
124:APC Support => disabled
126:APC Debugging => Disabled
135:apc.cache_by_default => On => On
136:apc.canonicalize => On => On
137:apc.coredump_unmap => Off => Off
138:apc.enable_cli => Off => Off
139:apc.enabled => On => On
140:apc.file_md5 => Off => Off
141:apc.file_update_protection => 2 => 2
142:apc.filters => no value => no value
143:apc.gc_ttl => 3600 => 3600
144:apc.include_once_override => Off => Off
145:apc.lazy_classes => Off => Off
146:apc.lazy_functions => Off => Off
147:apc.max_file_size => 1M => 1M
148:apc.mmap_file_mask => no value => no value
149:apc.num_files_hint => 1000 => 1000
150:apc.preload_path => no value => no value
151:apc.report_autofilter => Off => Off
152:apc.rfc1867 => Off => Off
153:apc.rfc1867_freq => 0 => 0
154:apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
155:apc.rfc1867_prefix => upload_ => upload_
156:apc.rfc1867_ttl => 3600 => 3600
157:apc.serializer => default => default
158:apc.shm_segments => 1 => 1
159:apc.shm_size => 32M => 32M
160:apc.slam_defense => On => On
161:apc.stat => On => On
162:apc.stat_ctime => Off => Off
163:apc.ttl => 0 => 0
164:apc.use_request_time => On => On
165:apc.user_entries_hint => 4096 => 4096
166:apc.user_ttl => 0 => 0
167:apc.write_lock => On => On
Thanks