note 110935 added to apc.installation
| From: | adonis at aynacorp dot com | Date: | Wed, 26 Dec 2012 15:01:46 +0000 |
| Subject: | note 110935 added to apc.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192679@lists.php.net to get a copy of this message | ||
Installation Steps For on Centos 6.3 / PHP 5.3.3
#use pecl to install it (you will be prompted during installation, I used the default values)
pecl install apc
# you should see something like this
downloading APC-3.1.9.tgz ...
Starting to download APC-3.1.9.tgz (155,540 bytes)
54 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
...
...
...
Build process completed successfully
Installing '/usr/lib64/php/modules/apc.so'
Installing '/usr/include/php/ext/apc/apc_serializer.h'
install ok: channel://pecl.php.net/APC-3.1.9
#Great now that it is built,
#enable apc in php.ini
nano /etc/php.ini
# somewhere in you php.ini file add please not that path may be different for you installation
extension="/usr/lib64/php/modules/apc.so"
apc.enabled=1
# copy the shipped apc.php to see what is going on wit apc on your server
cp /usr/share/pear/apc.php /root_dir_of_your_web_app
# now you should be able to see stats of APC running
----
Server IP: 69.147.83.199
Probable Submitter: 77.42.178.184
----
Manual Page -- http://php.net/manual/en/apc.installation.php
Edit -- https://master.php.net/note/edit/110935
Del: integrated -- https://master.php.net/note/delete/110935/integrated
Del: useless -- https://master.php.net/note/delete/110935/useless
Del: bad code -- https://master.php.net/note/delete/110935/bad+code
Del: spam -- https://master.php.net/note/delete/110935/spam
Del: non-english -- https://master.php.net/note/delete/110935/non-english
Del: in docs -- https://master.php.net/note/delete/110935/in+docs
Del: other reasons-- https://master.php.net/note/delete/110935
Reject -- https://master.php.net/note/reject/110935
Search -- https://master.php.net/manage/user-notes.php