PHP with FastCGI

FastCGI for PHP makes all your PHP applications run through mod_fcgid instead of mod_suphp. FastCGI applications are fast because they're persistent. There is no per-request startup and initialization overhead. This makes possible the development of applications which would otherwise be impractical within the CGI paradigm (e.g. a huge PHP script, or an application which requires a connection to one or more databases).

Benefits:

  • PHP scripts will run faster. The PHP interpreter is loaded into memory rather than calling from storage for every hit, greatly improving performance of your scripted site.
  • You will use less Server Resources. Since the server does not have load the PHP interpreter for each hit, you will be able to accommodate a higher traffic site without exceeding your CPU quota.
  • NO modifications to your existing code are required. Everything you currently run will work with FastCGI for PHP.

Potential Problems:

  • You will only have one php.ini file available for all subdirectories (/home/USERNAME/public_html/php.ini). This is necessary to help optimize the website code as much as possible. If you need multiple php.ini files to accommodate different scripting needs, you can disable FastCGI for PHP on any of your subdirectories while leaving the rest of the account enabled for performance. Contact us via Phone, Live Chat or by Opening a Ticket for further assistance.
  • There can be a few minute delay in any updates you make to your PHP environment (ie, php.ini changes). Since your php.ini is loaded into memory for greater speed, every hit does not re-read it from storage.

To Enable FastCGI:

  1. Login to your Gesatech cPanel and click the PHP Config icon under software/services.
  2. Select PHP5 (FastCGI)
  3. Click Save Changes.
  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Gesatech Solutions Nameservers (NS)

Please change your name servers to the correct Gesatech name servers. ns1.gesatech.net...

My SQL Version

The current version can be viewed in the cPanel on left side. Alternately, you can view which...

How to perform a telnet on different operating systems

Windows: Click Start | Run... Type cmd and press Enter In the box type telnet...

Uploading a website

The best way to upload your web site is via FTP. This can be done in a number of different ways...

Email setup in any client (General Information)

Below are the settings that are needed to configure and retrieve email from your main pop...