Writing a virtual hosting control panel in PHP
July 29, 2008
My brother’s put together an article on how to build a virtual hosting control panel like plesk or webmin, but in PHP. He’s got a blog entry about it here (where you can comment) and the main article is here.










Posted in 

Entrepreneur, developer, writer, podcaster, teacher, ex-bassist.




July 29th, 2008 at 12:48 pm
Let me take a look.
cPanel and webmin are writen in perl i think.
July 29th, 2008 at 8:30 pm
Webmin is (or was last I checked) and cpanel probably is. Plesk is done in PHP, but it’s 100% encrypted so there’s no ability to make any changes. To their credit they’ve developed some degree of extensibility and ways to register new programs to be run by certain triggers (perhaps cpanel has something like that too?) But having the code to your own control panel, and customizing it to your needs, would be useful to many people as well.
July 30th, 2008 at 12:55 am
Take a look at SysCP which seems to be completely written in PHP.
July 30th, 2008 at 10:52 am
I found the following ones in PHP, open source too:
VHCS
baifox
DTC
syscp.org
web-cp.net
The problem is, they don’t appear very “pluggable”. They’re all focused on LAMP, with no ability to swap out webmail clients. Also, one of the points of the article is to help people get a solid foundation for making a repeatable application “stack”. Using ant and subversion at the very beginning of a project helps to eliminate growing pains later on.