ColossusControl docommand.php

I needed a way to call the script from a php script.  The script docommand.php allows you to call colossus control and pass command line options to it as a url.


You can download the code respository at BitBucket.


This script uses PHP’s exec and system functions to run the script. Certain aspects of the colossus control script require it to be run as root. In order to function properly, Apache must have root privileges. This creates MAJOR security holes. Our aquarium is not publicly accessible from the internet, otherwise we would not have done it. WE DO NOT ADVISE RUNNING APACHE AS ROOT!  DO SO AT YOUR OWN RISK!