Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cwp:building-php [2018/07/09 01:30] qtwrk |
litespeed_wiki:cwp:building-php [2018/07/09 15:20] (current) Lisa Clarke [PHP Selector] Proofreading additions |
||
---|---|---|---|
Line 22: | Line 22: | ||
- A text box near the top should pop up with ./configure and the compilation flags. Scroll to the bottom of the text box and on a new line add the following: ‘--with-litespeed’. This step is required for each version that is to be compiled. | - A text box near the top should pop up with ./configure and the compilation flags. Scroll to the bottom of the text box and on a new line add the following: ‘--with-litespeed’. This step is required for each version that is to be compiled. | ||
- After selecting and setting the flags for each version, Click Start Compiler and that is it! | - After selecting and setting the flags for each version, Click Start Compiler and that is it! | ||
- | - Add following code into ''/home/username/public_html/.htaccess'' | + | - Add the following code into ''/home/username/public_html/.htaccess'': <code>AddHandler application/x-httpd-php56 .php</code> (Replace ''56'' with the PHP version you built and wish to use.) |
- | + | ||
- | <code>AddHandler application/x-httpd-php56 .php</code> | + | |
- | + | ||
- | Replace ''56'' to the PHP version you built and wish to use. | + | |