note 113935 added to apc.installation

From: Date: Wed, 18 Dec 2013 15:59:04 +0000
Subject: note 113935 added to apc.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-197977@lists.php.net to get a copy of this message
The below steps should work on Red Hat Enterprise Linux (RHEL) 6.x / CentOS 6.x. By way of introduction I had a bit of trouble installing php-devel but finally found an RPM on pbone.net that wold work with my version of php... # yum install gcc automake php httpd httpd-devel # yum list installed | grep php # rpm -Uvh ftp://ftp.sunet.se/pub/Linux/distributions/scientific/6.3/x86_64/updates/security/php-devel-5.3.3-27.el6_5.x86_64.rpm With that out ofthe way, I could continue the installation of APC... # yum install php-pear # pecl install apc # echo "extension=apc.so" >> /etc/php.ini # echo "apc.enabled=1" >> /etc/php.ini # cp /usr/share/pear/apc.php /var/www/html/apc.php (this step is optional) # /etc/init.d/httpd restart Finally, test opening the apc.php file in a Web browser if you opted to copy the file. If all goes well, you may want to delete the apc.php file when you're done. -nick ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/apc.installation.php Edit -- https://master.php.net/note/edit/113935 Del: integrated -- https://master.php.net/note/delete/113935/integrated Del: useless -- https://master.php.net/note/delete/113935/useless Del: bad code -- https://master.php.net/note/delete/113935/bad+code Del: spam -- https://master.php.net/note/delete/113935/spam Del: non-english -- https://master.php.net/note/delete/113935/non-english Del: in docs -- https://master.php.net/note/delete/113935/in+docs Del: other reasons-- https://master.php.net/note/delete/113935 Reject -- https://master.php.net/note/reject/113935 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197977) next »