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
litespeed_wiki:php:rpm [2017/12/29 18:33]
Johathan Kagan [LiteSpeed Repository]
litespeed_wiki:php:rpm [2019/03/15 20:48] (current)
Lucas Rolff [Useful PHP Install Commands]
Line 1: Line 1:
-====== Installing PHP as an RPM ======+====== Installing PHP as an RPM for CentOS systems======
  
-Installing PHP with LiteSpeed SAPI from a repository is much faster than compiling it yourself. Some users also may be unused to compiling PHP and will find this method more comfortable. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository and our own LiteSpeed Repository. Choose the repository that best fits your needs.+For LSWS (native) and OpenLiteSpeed, ​Installing PHP with LiteSpeed SAPI from a repository is much faster than compiling it yourself. Some users also may be unused to compiling PHP and will find this method more comfortable. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository and our own LiteSpeed Repository. Choose the repository that best fits your needs.
  
 ===== LiteSpeed Repository ===== ===== LiteSpeed Repository =====
  
-  * PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2+  * PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2 and 7.3
   * CentOS and RHEL 5/6/7.   * CentOS and RHEL 5/6/7.
   * Contains most up-to-date versions of LSAPI. (Do not have to wait for a new PHP version to be released.)   * Contains most up-to-date versions of LSAPI. (Do not have to wait for a new PHP version to be released.)
Line 58: Line 58:
 ==== Useful PHP Install Commands ==== ==== Useful PHP Install Commands ====
  
-Install PHP 5.6 ( 5.4, 5.5, 7.0 or 7.1, please check with the corresponding application for PHP version and packages requirement) with packages to support most commonly used web applications (WordPress, Joomla, Drupal, Magento, SugarCRM, etc.): +Install PHP 5.6 ( 5.4, 5.5, 7.07.1, 7.2 or 7.3, please check with the corresponding application for PHP version and packages requirement) with packages to support most commonly used web applications (WordPress, Joomla, Drupal, Magento, SugarCRM, etc.): 
-  yum install lsphp56 lsphp56-common lsphp56-mysql lsphp56-gd lsphp56-process lsphp56-mbstring lsphp56-xml lsphp56-mcrypt lsphp56-pdo lsphp56-imap lsphp56-soap lsphp56-bcmath lsphp56-intl lsphp56-opcache+  yum install lsphp56 lsphp56-common lsphp56-mysqlnd ​lsphp56-gd lsphp56-process lsphp56-mbstring lsphp56-xml lsphp56-mcrypt lsphp56-pdo lsphp56-imap lsphp56-soap lsphp56-bcmath lsphp56-intl lsphp56-opcache
   ​   ​
 or  or 
Line 101: Line 101:
   Connection Keepalive Timeout: Not Set   Connection Keepalive Timeout: Not Set
   Response Buffering: No   Response Buffering: No
-  ​Auto Start: Yes+  Start By Server: Yes
   Command: ​  /​usr/​local/​lsws/​lsphp56/​bin/​lsphp ​   Command: ​  /​usr/​local/​lsws/​lsphp56/​bin/​lsphp ​
         ( Note: it should change to the binary you need to point to)         ( Note: it should change to the binary you need to point to)
   Back Log:  100   Back Log:  100
   Instances: 1   Instances: 1
-  ​suEXEC ​User: Not Set +  ​Run As User: Not Set 
-  ​suEXEC ​Group: Not Set+  ​Run As Group: Not Set
   umask: ​    Not Set   umask: ​    Not Set
   Run On Start Up: Not Set   Run On Start Up: Not Set
  • Admin
  • Last modified: 2017/12/29 18:33
  • by Johathan Kagan