i have tried to use MozPHP into Kmeleon ... the current problem i have is to delete the xpti.dat and compreg.dat everytime when kmeleon is closed.
http://www.thomas-schilz.de/MozPHP/
1. put the ff files inside the components folder
* phptohtmlconv.dll
* nsIPostData.xpt
* cfh_protocol.dll
* cfh_protocol.xpt
*php4ts.dll
2. put the php.exe file inside the main kmeleon folder
3. delete xpti.dat and compreg.dat in the components folder
4. launch kmeleon
refer to the url above for testing and for the files except (php related files)