Place activehost.php inside the include/hooks folder on your WHMCS installation.
Double check the paths on the requires.  These are for the set-up so that your WHMCS is a folder within the WordPress root folder.