php in FastCgi mode

To enable fast-cgi mode for php on your account you have to add these lines to  .htaccess file:
 
AddType text/html .php .phtml
AddHandler fcgid-script .php .phtml
FcgidWrapper /usr/local/cpanel/cgi-sys/php70w

These lines will activate php v. 7 in fast-cgi mode. You can use these vaersions on our servers:

  • FcgidWrapper /usr/local/cpanel/cgi-sys/php54w - для php 5.4.*.
  • FcgidWrapper /usr/local/cpanel/cgi-sys/php55w - для php 5.5.*
  • FcgidWrapper /usr/local/cpanel/cgi-sys/php56w - для php 5.6.*
  • FcgidWrapper /usr/local/cpanel/cgi-sys/php70w - для php 7.0.*

It is better to place this  .htaccess file in the home dir of your account (level up from public_html dir). 

To configure php you can use  .user.ini file. This file should be placed in public_html dir. Run php-reload from console after changing this file for instant effect.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Privacy Policy

Privacy Policy Billing Panel ("us", "we", or "our") operates the https://billing.domns.com...

Refund Policy

If you are not 100% satisfied with your purchase, within 30 days from the purchase date, we will...

Terms of Agreement

Agreement for using hosting service between Billing Panel ("us", "we", or "our") operates the...

Powered by WHMCompleteSolution