在 Zend Server 社区版上运行 CodeIgniter
我只是想知道是否可以在 Zend Server Community Edition 上运行 CodeIgniter 应用程序而不会出现任何问题。
我不想因为实验而把一切搞砸。如果您在 ZendServer CE 上运行 CI 时遇到任何问题,请告诉我。
谢谢
I am just wondering if I could run CodeIgniter applications on Zend Server Community Edition without any issues.
I don't want to mess everything up by experimenting. Please let me know if you have faced any problems running CI on ZendServer CE.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Zend Server 并不是真正的服务器。它只是 Apache/IIS 的预配置 PHP 安装。部署 Zend Framework 应用程序时,您必须将 Zend Framework 库与应用程序一起包含在内,就像将其部署在常规 Apache/PHP 服务器上一样。
您可以将其视为 PHP 的常规安装。
Zend Server isn't really a server. It's just a preconfigured PHP installation for Apache/IIS. When deploying a Zend Framework application, you have to include the Zend Framework libraries along with your application as if you were deploying it on a regular Apache/PHP server.
You can treat it as a stock installation of PHP.
我对 Zend Server 的了解还不够多,无法确定(例如,我之前见过有人设法将 CI 融入到 Joomla 中),虽然我确信这是可能的,但我想这需要大量的修改。您可以做的就是挑选您最喜欢的 CI 或 Zend 部分,并将代码重用为库。您是否被迫使用 Zend 但更愿意使用 CI?如果是这样的话,我对你有同感,但我不确定最好的解决方案是使用两个完整的框架以及它们带来的所有开销......它可能最终会变得非常笨重。
I don't know enough about Zend Server to say for sure (e.g. I've seen someone manage to wedge CI into Joomla before), and while I'm sure it's possible, I imagine it would require a lot of tinkering. What you can do is pick and choose your favorite bits of CI or Zend and reuse the code as libraries. Are you being forced to use Zend but would prefer to use CI? If that's the case, I feel for you, but I'm not sure the best solution is to use two entire frameworks with all the overhead that comes with them...it would probably end up being really unwieldy.