If you plan to use your CentOS Linux server to host PHP applications, such as Drupal, Wordpress or MovableType, you may want to install a PHP cache accelerator such as APC. This helps your system run PHP applications faster for end users. To use APC, however, you must install APSX and its components first.
- Skill level:
Click on the "Accessories" menu in your CentOS desktop.
Click on "Terminal" in the menu that appears.
Install the software necessary for APXS by typuing the following commands, pressing "Enter" after each one:
"yum install php-pear"
"yum install php-devel"
"yum install httpd-devel"
"pecl install apc"
Type "echo "extension=apc.so" > /etc./php.d/apc.ini" and press "Enter" to enable APXS's configuration for your server.
Type "/etc./init.d/httpd start" and press Enter to restart Apache (If needed.)
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for