How to install apxs on centos 5.4

Written by jay darrington
  • Share
  • Tweet
  • Share
  • Email

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:

Other People Are Reading


  1. 1

    Click on the "Accessories" menu in your CentOS desktop.

  2. 2

    Click on "Terminal" in the menu that appears.

  3. 3

    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"

  4. 4

    Type "echo "" > /etc./php.d/apc.ini" and press "Enter" to enable APXS's configuration for your server.

  5. 5

    Type "/etc./init.d/httpd start" and press Enter to restart Apache (If needed.)

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.