![]() ![]() If you want to set CloudLinux PHP Selector as the handler instead, you will need to change php and php5 handlers from lsphp56 to lsphp_selector as the following, assuming that you have installed CloudLinux CageFS, enabled CageFS for all users, and PHP-Selector and lvemanager have also been installed and configured correctly. Lsphp_selector is configured to use the command: /usr/local/bin/lsphpīy default, we configure Plesk Multi-PHP 56 as default handler out of the box. lsphp_selector is for CloudLinux PHP Selector. The following default external apps are added to LSWS during the installation: lsphp5x and lsphp7x are for Plesk Multi-PHP. When installing LSWS, the installation script will automatically configure PHP to use Plesk Multi-PHP and to use PHP version 5.6 by default. On a CloudLinux system, you have a choice of using either Plesk Multi-PHP or CloudLinux PHP Selector. Navigate to the Plesk Installer interface and choose the PHP versions you need ( Add/Remove Components > Web hosting features > Different PHP interpreter versions). If any plesk-php version is not installed, you can install it through the command line or Plesk GUI: Ii plesk-php70-cli 7.0.8-debian3012 amd64 Command-line interface for PHP Ii plesk-php56-cli 5.6.23-debian3012 amd64 Command-line interface for PHP ![]() Ii plesk-php55-cli 5.5.37-debian3013 amd64 Command-line interface for PHP ![]() Ii plesk-php54-cli 5.4.45-debian2517 amd64 Command-line interface for PHP Ii plesk-php53-cli 5.3.29-debian2117 amd64 Command-line interface for PHP Ii plesk-php52-cli 5.2.17-debian0614 amd64 Command-line interface for PHP The LSPHP binary is included in the Pleas PHPxx CLI package and the installation location should be:įind / | grep /bin/lsphp /opt/plesk/php/5.5/bin/lsphpįor conf]# rpm -qa | grep cli | grep plesk-php Install them if they are not yet installed. It can also be checked through the Plesk GUI under Add/Remove Components > Web hosting features > Different PHP interpreter versions. Please refer to this Plesk documentation to ensure Plesk's multi-version PHPs have been installed. Plesk 12.5: Ubuntu 12/14, Debian 7/8 and CentOS/RHEL 6, 7 operating systems. Plesk 12: CentOS 6, CentOS 7, and Ubuntu 12 PHP packages from the Plesk team are available on: Plesk sbin autoinstaller -select-product-id plesk -select-release-current -install-component phpx.x If any PHP versions are not installed, you can install them through the command line: opt/plesk/php/7.3/bin/lsphp plesk-php52-cli ![]() For CentOS/Ubuntu/Debian users, LSPHP will be installed through Plesk PHP CLI packages when you install any PHP version. Plesk versions older than 12.0 only support having a single version of PHP set up. LSPHP is automatically installed when you install any version of Plesk Multi-PHP. LiteSpeed Web Server requires LSPHP, which Plesk has built into its multi-version PHP rpms for CentOS, Ubuntu, and Debian. You shouldn't need to take these steps during installation, because LSWS should just work with Plesk PHP right away. Use this wiki as a means of understanding how LiteSpeed Web Server and Plesk work together in terms of PHP. LSWS reads Plesk Apache configuration files for virtual hosts and global settings. If you need to change PHP versions or settings, you can simply do so through Plesk Admin ( Domain > PHP Settings), the same way you would for Apache. There is no need to change any settings from LSWS Web Admin Console, as LSWS doesn't have its own native virtual hosts under Plesk. If you upgrade LSWS from an earlier version, there may be some existing internal apps and script handlers defined. There is no need to configure individual PHP external apps if you don't have any special requirements. This means PHP should work with Plesk out-of-the-box after LSWS installation. LiteSpeed Web Server v5.4 and later auto-detects and loads all available PHP versions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |