Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:php_lsapi:generate_source [2013/09/24 19:07]
Michael created
— (current)
Line 1: Line 1:
-====== Generating PHP Source Code ====== 
  
-Since version 4.3, PHP LSAPI has been capable of generating formatted PHP source code in HTML, allowing users to view the source code for these files through a web browser. ​ 
- 
-===== Command line option ===== 
- 
-You can set LSPHP to generate source code using the command line option -s. 
- 
-  /​path/​to/​lsphp -s 
- 
-===== Setting it up within the WebAdmin console ===== 
- 
-If you want LSWS to generate PHP source code for files with certain suffix, "​phps"​ for example, add a dedicated external application with "​-s"​ at the end of the "​Command"​ setting. Then add a script handler for the suffix "​phps"​.