Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:installation:generic [2019/02/04 21:16] Lisa Clarke created from virtualmin |
litespeed_wiki:installation:generic [2019/02/21 14:52] Lisa Clarke [Complete Configuration in WebAdmin Console] |
||
---|---|---|---|
Line 51: | Line 51: | ||
===== Complete Configuration in WebAdmin Console ===== | ===== Complete Configuration in WebAdmin Console ===== | ||
- | You may Log into the WebAdmin Console at ''<nowiki>https://YOUR_SERVER_IP:7080</nowiki>''. If you are unable to access WebAdmin, please verify that your firewall is not blocking it. | + | You may log into the WebAdmin Console at ''<nowiki>https://YOUR_SERVER_IP:7080</nowiki>''. If you are unable to access WebAdmin, please verify that your firewall is not blocking it. |
Use the username and password you were asked to set during the install script. If you need to reset these, please run the following command: | Use the username and password you were asked to set during the install script. If you need to reset these, please run the following command: | ||
Line 60: | Line 60: | ||
{{:litespeed_wiki:installation:virtualmin1.jpg|}} | {{:litespeed_wiki:installation:virtualmin1.jpg|}} | ||
+ | |||
+ | |||
+ | **NOTE**: If **Apache Reload on Changes** is enabled, Apache may be unable to start, due to the Apache binary wrapper. LSWS will be started instead of Apache. To run Apache and LSWS in parallel, please specify an **Apache Port Offset**, and set **Apache Reload on Changes** to ''NO'' | ||
+ | |||
Navigate to **Configuration > Server > HT Access** and configure the options as shown below: | Navigate to **Configuration > Server > HT Access** and configure the options as shown below: | ||
Line 83: | Line 87: | ||
{{:litespeed_wiki:installation:virtualmin3.jpg|}} | {{:litespeed_wiki:installation:virtualmin3.jpg|}} | ||
- | As you can see it shows ''Server API LiteSpeed V7.2'' | + | As you can see from the paths, we are running PHP 7.0. Additionally, note that it shows ''Server API LiteSpeed V7.2''. |
==== Changing the PHP Version ==== | ==== Changing the PHP Version ==== | ||
Line 97: | Line 101: | ||
</IfModule></code> | </IfModule></code> | ||
- | Check phpinfo, and you will see it's php 7.3 now: | + | Check phpinfo, and you will see from the paths that it's PHP 7.3 now: |
{{:litespeed_wiki:installation:virtualmin4.jpg|}} | {{:litespeed_wiki:installation:virtualmin4.jpg|}} | ||
- | So it is the same for other PHP versions: | + | So it is the same for other PHP versions, like 7.2: |
{{:litespeed_wiki:installation:virtualmin5.jpg|}} | {{:litespeed_wiki:installation:virtualmin5.jpg|}} | ||
Line 109: | Line 113: | ||
For example, we want compile the PHP exntesion ''timezonedb'' for PHP 7.3. | For example, we want compile the PHP exntesion ''timezonedb'' for PHP 7.3. | ||
- | # Install dependencies: <code>yum install -y lsphp73-devel make gcc glibc-devel</code> | + | Install dependencies: |
- | # Compile it: <code>/usr/local/lsws/lsphp73/bin/pecl install timezonedb</code> | + | |
- | # Add it into configuration file: <code>echo "extension=timezonedb.so" > /usr/local/lsws/lsphp73/etc/php.d/20-timezone.ini</code> | + | <code>yum install -y lsphp73-devel make gcc glibc-devel</code> |
+ | | ||
+ | Compile it: | ||
+ | |||
+ | <code>/usr/local/lsws/lsphp73/bin/pecl install timezonedb</code> | ||
+ | | ||
+ | Add it into configuration file: | ||
+ | |||
+ | <code>echo "extension=timezonedb.so" > /usr/local/lsws/lsphp73/etc/php.d/20-timezone.ini</code> | ||
{{:litespeed_wiki:installation:virtualmin6.jpg|}} | {{:litespeed_wiki:installation:virtualmin6.jpg|}} | ||
Line 131: | Line 143: | ||
{{:litespeed_wiki:installation:virtualmin7.jpg|}} | {{:litespeed_wiki:installation:virtualmin7.jpg|}} | ||
- | As you can see, the Server API is changed to ''CGI/FastCGI''. | + | As you can see, the Server API has changed to ''CGI/FastCGI''. |