Zend框架文件后,无法正常工作被上传到远程服务器 [英] zend framework not working after files are uploaded into a remote server

查看:120
本文介绍了Zend框架文件后,无法正常工作被上传到远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我使用Zend框架来发展本地的网站已经和一切工作只是罚款....但后来经过我上传的一切到远程服务器,Zend框架没有,虽然我没有改变源$的工作,即使C $ç.....

so I've been using Zend framework to develop the site locally and everything works just fine....but then after I upload everything into a remote server, zend framework did not work even though I changed none of the source code.....

所以这就是我知道的......

so here's what I know...

  1. 远程服务器支持PHP,MySQL等就好了,他们的最新版本
  2. 在远程服务器支持的.htaccess和mod-rewrite就好了,他们已启用,我测试过他们
  3. 在我没有在本地服务器上更改任何来源$ C ​​$ c和源$ C ​​$ C工作完美...
  4. 在Zend框架不boostrapping正确......每当我去一个控制器的页面,如的http:// mysite的。 COM /控制器/动作< ---不是一个真正的URL,这将改为显示404错误....所以我知道它没有被重定向到index.php,因为它应该....
  1. the remote server supports PHP, MySQL, etc just fine and they are of the latest versions
  2. remote server supports .htaccess and mod rewrite just fine and they are enabled and I've tested them
  3. I did not change any of the source code and the source code works perfectly on the local server...
  4. Zend Framework is not boostrapping properly...whenever I go to a controller page such as http://mysite.com/controller/action <---not a real url, it would instead display a 404 error....so I know that it's not being redirected to index.php as it should....

这是什么可能是错误的,任何想法,我应该如何以及在哪里开始解决解决这个问题呢?

any idea on what could possibly be wrong and on how and where I should start to tackle solving this problem?

在此先感谢

推荐答案

您可以告诉我们的错误,但...这里有一些问题,可以使其无法正常工作:

You could tell us the error but... here are some issues that can make it not to work:

  • mod_rewrite的已关闭
  • 在.htaccess文件仍然指向您到localhost(或你主持首次)
  • 在配置不正确的php.ini文件(如果你有一个静态包括你应该改变它,以便将其发送到正确的包含文件夹)
  • 在目录/文件权限

如果你发送错误,也许我们可以帮助您更

If you send the error maybe we can help you more

这篇关于Zend框架文件后,无法正常工作被上传到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆