eHow launches Android app: Get the best of eHow on the go.

How To

How to enable Fast CGI for better server load

Member
By maestro83
User-Submitted Article
(0 Ratings)

If your web provider uses Cpanel then you can enable Fast CGI for better php load. This is especially useful when you use Wordpress quite frequently with plugins. The plugins usually aren't server optimized, which can cause your website to overload on cpu while trying to execute the scripts.

Difficulty: Moderately Easy
Instructions

Things You'll Need:

  • Cpanel
  • Php Config
  1. Step 1

    First thing you need to do is log into Cpanel, then look for "PHPCONFIG" located in the Software services.

  2. Step 2
     

    Click on "PHP CONFIG" and look for the setting option called, "PHP 5(FAST CGI), click on the circle and then be sure you save your settings.

  3. Step 3

    That's all you have to do to enable FAST CGI. But there is some pro's and con's to using it.

    Pros:

    1. Php scripts will run faster
    2. You will use less Server Resources
    3. NO modifications to your existing code are required.

    Cons:

    1. You will only have one php.ini file available for all subdirectories
    2. There can be a few minute delay in any updates you make to your PHP environment

  4. Step 4

    Now, lastly; If your website is running wordpress you should notice a difference in the cpu throttling; Since wordpress uses php then all of your plugins you have will also use less server cpu.

    And what does that mean? If your website is using too much server load, then the more your cpu is throttled the more your website will be down; it can be down for a few seconds to minutes as well as hours. And that can cause problems between the website and your readers.

Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Tags
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy .   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. † requires javascript

eHow Computers
eHow_eHow Technology and Electronics