This is an old revision of the document!


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.

You can set LSPHP to generate source code using the command line option -s.

/path/to/lsphp -s

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”.

  • Admin
  • Last modified: 2013/09/24 19:07
  • by Michael