note 123477 added to faq.mailinglist
| From: | mukeshbhattr at gmauk dot com | Date: | Fri, 28 Dec 2018 22:05:10 +0000 |
| Subject: | note 123477 added to faq.mailinglist | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209966@lists.php.net to get a copy of this message | ||
$ php -r 'phpinfo();' |grep apc
additional .ini files parsed => /etc/php/cli-php5/ext-active/apc.ini,
apc
apc.cache_by_default => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 3600 => 3600
apc.include_once_override => Off => Off
apc.max_file_size => 1M => 1M
apc.num_files_hint => 1024 => 1024
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.shm_segments => 1 => 1
apc.shm_size => 30 => 30
apc.slam_defense => 0 => 0
apc.stat => On => On
apc.stat_ctime => Off => Off
apc.ttl => 7200 => 7200
apc.user_entries_hint => 4096 => 4096
apc.user_ttl => 7200 => 7200
apc.write_lock => On => On
suhosin.apc_bug_workaround => Off => Off
up
down
4 flydian80 at yahoo dot com ¶6 years ago
Install successfully on RHEL5 with user-defined path. In case someone needs it, I put the steps
here.
I am not the su user and don't have its right too. Basically I installed the Apache and PHP
5.3.10 on the folder under my user directory.
My user directoy like /home/dxxx, php is at /home/dxxx/php, apache is at /home/dxxx/php.
1: I get APC-3.1.9.tar.gz from PECL and put in at /home/dxxx/php/etc.
2: /home/dxxx/php/etc: tar -xvfz APC-3.1.9.tar.gz
3: We get a folder named APC-3.1.9, then cd APC-3.1.9
4: /home/dxxx/php/etc/APC-3.1.9: /home/dxxx/php/bin/./phpize ( because I installed php on
user-defined foler, need to go there to find the "phpize")
It shows:
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
5: /home/dxxx/php/etc/APC-3.1.9: ./config --with-php-config=/home/dxxx/php/bin/php-config
--enable-apc --enable-apc-debug ( Because I am asked to put --with-php-config=PATH, if I don't
provide it)
--Ignore the output message
6: /home/dxxx/php/etc/APC-3.1.9: make
We should be able to see a "apc.so" file under modules/.
7: /home/dxxx/php/etc/APC-3.1.9: make install
This step copies that "apc.so" file to your extension folder. We can do it manually
either.
8: Add extension=apc.so to you php.ini, then restart the apache server
9: /home/dxxx/php/etc/APC-3.1.9: /home/dxxx/php/bin/./php -m
----
Server IP: 208.43.231.9
Probable Submitter: 2a02:cb43:e::301 (proxied: 86.98.155.98)
----
Manual Page -- http://php.net/manual/en/faq.mailinglist.php
Edit -- https://master.php.net/note/edit/123477
Del: integrated -- https://master.php.net/note/delete/123477/integrated
Del: useless -- https://master.php.net/note/delete/123477/useless
Del: bad code -- https://master.php.net/note/delete/123477/bad+code
Del: spam -- https://master.php.net/note/delete/123477/spam
Del: non-english -- https://master.php.net/note/delete/123477/non-english
Del: in docs -- https://master.php.net/note/delete/123477/in+docs
Del: other reasons-- https://master.php.net/note/delete/123477
Reject -- https://master.php.net/note/reject/123477
Search -- https://master.php.net/manage/user-notes.php