How do I move Zend Framework From Development to Production?
Posted
by dirtylogic
on Stack Overflow
See other posts from Stack Overflow
or by dirtylogic
Published on 2010-05-29T20:35:36Z
Indexed on
2010/05/29
20:42 UTC
Read the original article
Hit count: 253
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;
}
}
© Stack Overflow or respective owner