Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:plesk:installation [2014/08/26 18:26] Michael Armstrong |
litespeed_wiki:plesk:installation [2014/12/01 19:12] Jackson Zhang [Get PHP for LSWS] |
||
---|---|---|---|
Line 71: | Line 71: | ||
==== Get PHP for LSWS ==== | ==== Get PHP for LSWS ==== | ||
- | LSWS requires PHP built with LSAPI. There are a number of ways to do this. Many Plesk users may find it easiest to get PHP for LSWS through the [[http://rpms.famillecollet.com/|Remi Repository]]. You can also build PHP through the WebAdmin console (detailed below) or through the command line. (When building from the command line, simply add the %%"--with-litespeed"%% option to have it built with LSAPI.) | + | LSWS requires PHP built with LSAPI. There are a number of ways to get PHP with LSAPI. |
- | Access the WebAdmin console by clicking "WebAdmin Console". | + | - Many Plesk users may find it easiest to get PHP for LSWS through the [[http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:rpm#installing_php_from_the_litespeed_repository|litespeed repository]] or [[http://rpms.famillecollet.com/|Remi Repository]]. Follow our [[litespeed_wiki:php:rpm|Installing LSPHP via RPM]] guide for these steps. |
- | + | - You can also build PHP through the WebAdmin console or through the command line. Building PHP yourself is covered in our [[litespeed_wiki:php:lsapi|Compile PHP for LSWS]] guide. | |
- | {{litespeed_wiki:plesk:plesk_webadmin_console.png?700}} | + | |
- | + | ||
- | Use the user name and password you set during installation to log in. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_webadmin_login.png?700}} | + | |
- | + | ||
- | The Build PHP tool can be found under Actions > Compile PHP. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_php_menu.png?700}} | + | |
- | + | ||
- | Select your PHP version number. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_php_version.png?700}} | + | |
- | + | ||
- | Configure your PHP with the options you want. Pay special attention to the Configure Parameters field. These parameters must mirror the PHP options you have with Apache for LSWS to serve your PHP sites correctly. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_php_configure.png?700}} | + | |
- | + | ||
- | LSWS will prepare to build PHP. When it is done, click "Next". | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_php_prep.png?700}} | + | |
- | + | ||
- | You will now be asked to run a script as root to build PHP. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_php_build.png?700}} | + | |
- | + | ||
- | Because LSWS builds PHP from source code you may have to install some missing libraries to build PHP. | + | |
- | + | ||
- | Restart LSWS when the build is complete. | + | |
- | + | ||
- | {{litespeed_wiki:plesk:plesk_restart_lsws.png?700}} | + | |
+ | Once you have completed PHP installation, go to the next step: testing your sites. | ||
==== Test your sites with a port offset ==== | ==== Test your sites with a port offset ==== | ||