Modify CakePHP For Zeus


How to modify CakePHP to run on a Zeus webserver.

This works for me using zeus webserver 4/php fastcgi:

Cake’s path from webroot: /cake

My application path from webroot: /cake/ngo_reservation

I needed to modify /cake/ngo_reservation/config/core.php line 42 to this:

define ('BASE_URL', 'http://'.env('HTTP_HOST').env('PATH_INFO').'?'); 

Need to extract the controller/view differently. /cake/index.php (line 68) currently reads:

$uri = setUri();

Change this line to:

$uri = env('PHP_SELF') . env('QUERY_STRING');


View the original fault and my solution: