Okay, so I don't have a PHP7 environment, but give this a try (I don't know if it will work) cd /usr/share/zoneminder/api/lib mv Cake Cake_old git clone -b 2.x git://github.com/cakephp/cakephp.git ln -s cakephp/lib/Cake/ . Then try the API If it doesn't work, we may have to upgrade the cakephp versi...