Turning on Fastcgi for PHP

Turning on Fastcgi for PHP

Hsphere related:



If you need writing of files and folders for PHP under linux, please
turn fastcgi on for php . This will make PHP run as the ftp user and
will not require special permissions or ownerships.



To turn on fastcgi for php please do the following in your hsphere control panel:



1) Go to the web options page (Domain settings --> Web options) for the domain working with

2) Under "PHP --> PHP mode" check if "php_fastcgi5" is shown -- some servers are defaulted to fastcgi

3) If php mode above is set to fastcgi, you're done -- otherwise continue

4) If php mode above is set to libphp, continue

5) Turn off PHP

6) Turn on PHP Advanced

7) Change PHP mode for PHP advanced from libphp to fastcgi

8) Click "Apply now" link at top of web service page.



The changes will take effect in 5 to 10 minutes.



NOTE: If you do not see PHP advanced, then make sure it is enabled in the plan.
    • Related Articles

    • Turning on Fastcgi for PHP

      Hsphere related: If you need writing of files and folders for PHP under linux, please turn fastcgi on for php . This will make PHP run as the ftp user and will not require special permissions or ownerships. To turn on fastcgi for php please do the ...
    • PHP

      Php     Sort PHP processes by user: Show PHP Errors: put this code at top of php page you want to test (usually index.php): error_reporting(E_ALL); ini_set('display_errors', 1);
    • Changing PHP version on Linux/FreeBSD accounts

      Note: The option to change PHP versions between php4 and php5 is only available on certain servers, as PHP4 is currently End of Life. To change PHP versions on Linux/FreeBSD, do the following: 1. Select Domain info in the Domain Settings menu. 2. ...
    • Change php version in cpanel

      Login to cpanel Search on the top left hand corner "php" Select "MultiPHP Manager" Under PHP-FPM make sure it's on. In the dropdown labeled php version you can select which version you want. Select the domain(s) you want to edit and click apply. ...
    • PHP session.save_path error

      You receive the following error in PHP: "The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder ...