- Yum up some packages:
``` yum install php-pear php-devel httpd-devel
</td> </tr> </table> </div> 2. Install APC using pear (the pear installer is smarter than the pecl installer): When the installer asks about APXS, say ‘no’. </p> <div class="wp_syntax"> <table> <tr> <td class="code"> ``` pear install pecl/apc
</td> </tr> </table> </div>
- Tell PHP to load APC:
``` echo extension=apc.so > /etc/php.d/apc.ini
</td> </tr> </table> </div> 4. Restart Apache: <div class="wp_syntax"> <table> <tr> <td class="code"> ``` /sbin/service httpd graceful
</td> </tr> </table> </div>
- Tell PHP to load APC: