Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:plesk:php_selector [2019/11/26 16:04] Lisa Clarke Copyediting |
litespeed_wiki:plesk:php_selector [2019/11/26 16:15] qtwrk |
||
---|---|---|---|
Line 2: | Line 2: | ||
A recent Plesk update changed the PHP configuration within the Apache configuration. This may interfere with LiteSpeed Web Server, Plesk PHP Selector, and CloudLinux PHP Selector. | A recent Plesk update changed the PHP configuration within the Apache configuration. This may interfere with LiteSpeed Web Server, Plesk PHP Selector, and CloudLinux PHP Selector. | ||
- | ===== Symptom ===== | + | ===== Symptom: ===== |
No matter what PHP version you choose in CloudLinux PHP Selector, PHPinfo shows the PHP version that was selected in the Plesk PHP setting. | No matter what PHP version you choose in CloudLinux PHP Selector, PHPinfo shows the PHP version that was selected in the Plesk PHP setting. | ||
Line 10: | Line 10: | ||
There are two possible solutions for this issue. | There are two possible solutions for this issue. | ||
- | ===== Solution 1 ===== | + | ===== Solution 1: ===== |
Use Plesk PHP Selector to choose an alt-php, such as ''alt-php51-fastcgi''. Please note, you must choose ''fastcgi'' in order for LSWS to work properly. | Use Plesk PHP Selector to choose an alt-php, such as ''alt-php51-fastcgi''. Please note, you must choose ''fastcgi'' in order for LSWS to work properly. | ||
Line 29: | Line 29: | ||
{{ :litespeed_wiki:plesk:plesk-alt-php4.jpg |}} | {{ :litespeed_wiki:plesk:plesk-alt-php4.jpg |}} | ||
+ | |||
+ | Settings in text format: | ||
+ | |||
+ | Suffixes: ''php'' | ||
+ | |||
+ | Handler Type: ''LiteSpeed API'' | ||
+ | |||
+ | Handler Name: ''lsphp_selector'' | ||
+ | |||
Now all of the handlers will use same ''lsphp'' binary that is controlled by the CloudLinux Selector. | Now all of the handlers will use same ''lsphp'' binary that is controlled by the CloudLinux Selector. |