项目要转向linux。用ZF开发的系统。win下正常。linux下异常,根据网上查找,在linux下对apache安装了rewrite和pdo模块,但是还不能正常使用。在index.php入口文件下dispatch前打echo均可以出东西,在zend里的front.php文件下的function dispatch函数中输出print_r($this->getRequest());有值。Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => / [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => [_params:protected] => Array ( ) [_aliases:protected] => Array ( ) [_dispatched:protected] => [_module:protected] => [_moduleKey:protected] => module [_controller:protected] => [_controllerKey:protected] => controller [_action:protected] => [_actionKey:protected] => action ) 
但是在indexController.php控制器里打echo就没有反应。这是哪里出错了呢?晕菜了。求助~注:路径指示应该没有错误。本地能使,是否有大小写要求。自己的一个疑问。先试试。