Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cpanel:enable-suphp [2010-02-13 00:41:52]
garrett.plasky
cpanel:enable-suphp [2010-05-20 17:41:22]
garrett.plasky
Line 9: Line 9:
  
 Sound good? If so, let's get started! Sound good? If so, let's get started!
 +
 +==== Building SuPHP Support====
  
   - Log into the WHM. Ensure you're running the latest build else if you are not you will be prompted to upgrade when running the next step.   - Log into the WHM. Ensure you're running the latest build else if you are not you will be prompted to upgrade when running the next step.
Line 16: Line 18:
   - Step 5 will have a screen with quite a few options on it, the one we are concerned about is the second option **SuPHP**. Tick the checkbox here, scroll down, and click **Save and Build**.\\ :!: For additional security, we also recommend enabling Suhosin on this screen as well. [[http://www.hardened-php.net/suhosin/why.html|More Info]]   - Step 5 will have a screen with quite a few options on it, the one we are concerned about is the second option **SuPHP**. Tick the checkbox here, scroll down, and click **Save and Build**.\\ :!: For additional security, we also recommend enabling Suhosin on this screen as well. [[http://www.hardened-php.net/suhosin/why.html|More Info]]
  
-Apache and PHP will now rebuild automatically for you, and you will not have any service downtime while this transpires. Once the build is complete, there is one last step:+Apache and PHP will now rebuild automatically for you, and you will not have any service downtime while this transpires. This build typically takes anywhere from 20-30 minutes to complete
 + 
 +==== Enabling SuPHP as the Default Handler ====
  
   - In the WHM, go to //Main >> Service Configuration >> Apache Configuration >> PHP and SuExec Configuration//, and for your specific version of PHP, select 'suphp' as the default handler from the dropdown list. Click **Save New Configuration** and you're done!   - In the WHM, go to //Main >> Service Configuration >> Apache Configuration >> PHP and SuExec Configuration//, and for your specific version of PHP, select 'suphp' as the default handler from the dropdown list. Click **Save New Configuration** and you're done!