I'm just wondering if anyone else has had problems moving the Zend Framework from development to production.
I changed my docroot to the public folder, updated my library path, but it's still not working out for me. The IndexController is working just fine, but my ServiceController is giving me an internal server error.
ServiceController
<?php
class ServiceController extends Zend_Controller_Action
{
public function amfAction()
{
require_once APPLICATION_PATH . '/models/MyClass.php';
$srv = new Zend_Amf_Server();
$srv->setClass('Model_MyClass', 'MyClass');
echo $srv->handle();
exit;
}
}