MozPHP – running PHP in Mozilla

MozPHP [1] is a Mozilla PHP integration package. With MozPHP you can execute PHP scripts in Mozilla directly without the need for a local HTTP server.

Currently the integration is one way, i.e. it is not possible to access Mozilla internals from PHP scripts. This may change in the future but there are no concrete plans for this.

This reminds me of an earlier server-less approach by Scriptviewer [2] dated back to 2001. As far as I can see MozPHP only installs on Windows and Linux but not yet on Mac OS X. A full crossplatform integration would probably be nescessary to make MozPHP interesting for CD-ROM distributions of PHP applications. MozPHP and Sqlite would make a nice couple too, especially for distributable but offline use.

[1] http://www.thomas-schilz.de/MozPHP/
[2] http://www.angorasoftware.com/phpviewer.html

Leave a Reply