Given that SVN repos can be accessed over HTTP, would it be possible to code an SVN server in PHP?
Has anyone done this?
Given that SVN repos can be accessed over HTTP, would it be possible to code an SVN server in PHP?
Has anyone done this?
Do you mean a PHP front-end to a repository? If so, look no further than Trac.
Here is your answer - http://stackoverflow.com/questions/349241/is-there-an-equivalent-to-trac-written-in-php
See the SVN Pecl extension:
This is not an SVN server written in PHP though, but a client API that interfaces with a server.
Like everyone else, I too find it rather ... odd to want to write a PHP SVN Server, which probably takes quite an effort and time, when all you have to do is just to switch hosts. As an alternative, use an open SVN hosting service and checkout from your hosting service with Phing or something when needed.