A recent Plest update changed the PHP configuration within the Apache configuration. This may interfere with LiteSpeed Web Server, Plesk PHP Selector, and CloudLinux PHP Selector. ===== 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. {{ :litespeed_wiki:plesk:plesk-alt-php1.png |}} There are two possible solutions for this issue. ===== 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. {{ :litespeed_wiki:plesk:plesk-alt-php2.jpg |}} ===== Solution 2 ===== If Plesk PHP Selector is no longer needed, since CloudLinux PHP Selector pretty much covers all of the PHP settings and extensions, you could choose to use CloudLinux PHP Selector exclusively. This will completely disable the Plesk PHP Selector, which means no matter which PHP you choose in Plesk Selector, it will have no effect at all, and only the setting in CloudLinux Selector will be obeyed. Login to LSWS WebAdmin Console by accessing ''https://SERVER_IP:7088'' Follow the instructions in the [[https://docs.cloudlinux.com/cloudlinux_os_components/#litespeed-support|CloudLinux support documentation]] to set up the ''lsphp_selector'' external app, as seen in the screenshot. {{ :litespeed_wiki:plesk:plesk-alt-php3.jpg |}} After the external app is created, go to the **Script Handler** page, and create multiple handlers''php'',''php44'',''php51'',''php52'',''php53'',''php54'',''php55'',''php56'',''php70'',''php71'',''php72'',''php73'',''php74'',''php80'',''php81''. The list can be adjusted based on actual usage. Be sure to change **Handler Name** to ''lsphp_selector'' for each suffix, as seen in the screenshot. {{ :litespeed_wiki:plesk:plesk-alt-php4.jpg |}} Now all of the handlers will use same ''lsphp'' binary that is controlled by the CloudLinux Selector.