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 Both sides next revision
litespeed_wiki:php:generate-source-code-with-lsapi [2018/09/18 21:12]
Michael Alegre [Setting it up within the WebAdmin console]
litespeed_wiki:php:generate-source-code-with-lsapi [2018/09/18 21:15]
Michael Alegre [Setting it up within the WebAdmin console]
Line 11: Line 11:
 ===== Setting it up within the WebAdmin console ===== ===== Setting it up within the WebAdmin console =====
  
-If you add "-s" ​at the end of the Command setting in the WebAdmin ​console ​**Configuration > External App > your_external_application > Command**, that external application will now generate PHP source code in HTML for the files it reads. ​You can now set up a [[litespeed_wiki:​php:​configuring-lsws-for-php#​the_script_or_context_handler|script handler]] under **Configuration > Script Handler** pointing to that external application. This will direct all files with a certain ​**Suffix** (''​phpsc'',​ for example) to the external application that will generate their source code.+If you add ''​-s'' ​at the end of the Command setting in the WebAdmin ​Console under **Configuration > External App > your_external_application > Command**, that external application will now generate PHP source code in HTML for the files it reads. ​[[litespeed_wiki:​php:​configuring-lsws-for-php#​the_script_or_context_handler|script handler]] ​can then be created ​under **Configuration > Script Handler** pointing to that external application. This will direct all files with a **Suffix** ​defined in that script handler ​(''​phpsc'',​ for example) to the external application that will generate their source code.
  • Admin
  • Last modified: 2018/09/18 21:16
  • by Michael Alegre