The default external applications can also be used with some modification.Īdd an external application (in the WebAdmin console > Server Configuration > External App > Add).Ĭhoose LiteSpeed SAPI App for the application type. We will go through creating an external application for PHP 5.6. usr/local/lsws/lsphp70/bin/lsphp Define External App for these PHPs These PHP builds are installed to the following locations based on version number: /usr/local/lsws/lsphp52/bin/lsphp If you want to install all available php versions from php 5.2 to php 7.2 then use this command: yum groupinstall lsphp-all Now you will have folders of lsphp56 under: /usr/local/lsws/. Thus PHP 5.6 would be installed to /usr/local/lsws/lsphp56/bin/lsphp. The LiteSpeed Repository automatically installs PHP to /usr/local/lsws/lsphp5x/bin/lsphp where 5x is the version and subversion. Similary, if you wish to install php 7.0 or 7.2 etc simply replace 56 above with 70 or 72 and it will install PHP 7.0 or PHP 7.2 version respectively. The following command will install LSPHP 5.6: 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 Once you’ve added our repository, you can use yum to install PHP for LiteSpeed with a variety of modules. You can use other methods too that are mentioned in our knowledge base. In this guide, we’ll be installing PHP from the LiteSpeed repository. The defaults for the administrator’s user name and password are “admin” and “123456”. Remember the “ and that for you can use “localhost” if you’re currently using the machine the server is on.Ī login page should load. Plug into your browser to go to the WebAdmin interface. The default port for the WebAdmin console is 7080. If not, try testing the WebAdmin interface. By default, OpenLiteSpeed runs on port “8088”.A congratulations page linked to other testing pages should load into the browser when pointed to the above address. Use “localhost” if the server is on the machine you are using. To access your site, point your browser to being the IP address or domain name of your web server machine. (To stop it, run /usr/local/lsws/bin/lswsctrl stop.)Ī sample site should be running on the server. To start the server, simply run /usr/local/lsws/bin/lswsctrl start. OpenLiteSpeed web server has been installed successfully now.ĭefault OLS installation directory is: /usr/local/lsws You do not have to install OpenSSL 1.0.1 to use SPDY if you download the package from the repositories. The binary also includes the OpenSSL library needed to run SPDY. Note: The OpenLiteSpeed packages in our repositories have SPDY enabled. 1.6.14 is the oldest version in the repository. You can also specify version numbers, for example yum install openlitespeed-1.6.14, will install older versions. The above command installs the latest version of OpenLiteSpeed. Use the following commands to add our CentOS repositories:Īdd EPEL Repository yum install epel-releaseĭebian 7, 8 & Ubuntu 14,16,18,20 : wget -O - | bash Install OpenLiteSpeed:įor Debian & Ubuntu: apt-get install openlitespeed In this guide, we’re installing OLS from LiteSpeed repositories. We are performing the following steps on a fresh CentOS 7.5. At the end of this guide you will have OpenLiteSpeed web server ready to host your amazing websites. But if you have different requirements you can explore other option in our knowledge-base installation section. The purpose of this guide is to have all the installation instruction in one place. Just follow it step by step and we’ll show you how to install OpenLiteSpeed including php and everything. By following this guide you won’t have to go to any other install links or anywhere else. In this guide we’ll show you how to install OpenLiteSpeed completely and easily step by step. Step by Step Complete OpenLiteSpeed Install Step 4: Change PHP version your OLS server is using (optional).Step by Step Complete OpenLiteSpeed Install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |