6 Answers
6

An other solution for "selfhosted collaborative webbased LaTeX editor" is sharelatex. They have got an Homepage where you can work with there system but you can also host it on your own Server. Here is the link to the code:
https://github.com/sharelatex/sharelatex

FlyLatex now (since early June 2013, I believe) supports extra packages. Put any extra packages in the "texpackages." The packages/images will be available to all users (global-level access). I made it this way to save space for the administrator. But I'm working on adding an option to make packages/images uploadable and accessible on a per-user level.

A possible solution would be to use any online/selfhosted collaboration tool (Cloud 9/Collide etc.) to do the editing to a .tex file and then use a small php or bash script to process the TeX file through PHP/Shell on the click of a button.

FlyLaTeX and Cloud9 IDE are both based on NodeJS. And are not running on a PHP capable webserver. As I don't know how to work with nodejs nor how to integrate PHP in it, this isn't anything I could do. I tried doing it myself by combining the ace text editor with a PDF preview, but my PHP and JavaScript skills are insufficient.
–
FSMaxBMay 3 '13 at 10:04

This might not be exactly what you want but you can run a simple collaborative webbased LaTeX editor by running PMWiki on your server with MathJax enabled. To enable MathJax on your server you can simply edit