note 108493 added to apc.installation

From: Date: Tue, 01 May 2012 17:45:12 +0000
Subject: note 108493 added to apc.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-187416@lists.php.net to get a copy of this message
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 We should be able to see the "apc" on the list ---- Server IP: 69.147.83.197 Probable Submitter: 66.161.59.254 ---- Manual Page -- http://www.php.net/manual/en/apc.installation.php Edit -- https://master.php.net/note/edit/108493 Del: integrated -- https://master.php.net/note/delete/108493/integrated Del: useless -- https://master.php.net/note/delete/108493/useless Del: bad code -- https://master.php.net/note/delete/108493/bad+code Del: spam -- https://master.php.net/note/delete/108493/spam Del: non-english -- https://master.php.net/note/delete/108493/non-english Del: in docs -- https://master.php.net/note/delete/108493/in+docs Del: other reasons-- https://master.php.net/note/delete/108493 Reject -- https://master.php.net/note/reject/108493 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187416) next »