$frontController->setBaseUrl('/zendframework') //设置基本路径
->setParam('noViewRenderer', true)
->setControllerDirectory('./application/controllers')
->throwExceptions(true)
->dispatch();
去掉dispatch(),没有500错误,添加上就有500 错误,请教下,什么原因导致的(刚接触php)。之前还是可以打开的