FastCGI 将如何提高我的 php 应用程序的性能?
fastCGI 如何提高 PHP 性能,是否推荐用于我的typo3 CMS。会产生什么副作用吗?
How fastCGI will improve PHP performance, is it recommended to use for my typo3 CMS. Will it produce any side effects.?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TYPO3 与 FastCGI 一起运行良好 - 如果您的服务器配置正确,您将不会遇到麻烦。
TYPO3 runs fine with FastCGI - if your server is configured correctly, you will not run into trouble.
我通过 fastCGI 运行 PHP 已有 5 年多了,并在其上运行多个 Typo3 实例。我这样做是因为普通的 CGI 会因为太多实例而使我的服务器变得混乱。 FastCGI 现在可以毫无问题地处理它们。
当然,mod_php 可能是所有解决方案中最快的。然而,您会失去一些灵活性,例如能够单独配置每个主机或在同一 LAMP 堆栈中运行不同版本的 PHP,这在 PHP 5.2 到 PHP 5.3 不兼容的情况下是相当有优势的。
我在这里没有提供任何数字,但至少提供一些经验。我的建议是,如果您对设置有信心,请选择 fastCGI。这是值得的。或者,如果您使用 Apache 并且不太关心 CGI 给您带来的灵活性,请尝试 mod_php。它的设置也非常容易。
铜
罗马
I run PHP through fastCGI for more than 5 years now, having multiple Typo3 instances running on it. I did this out of the fact that normal CGI cluttered up my servers with that many instances. FastCGI now handles them without any problems.
Of course mod_php might be the fastest of all solutions. Yet you lose some flexibility like being able to configure each host separably or running different versions of PHP within the same LAMP stack, which is quite some advantage in days of PHP 5.2 to PHP 5.3 incompatibilities.
I have no numbers to offer here, but at least some exeperience. My suggestion, go for fastCGI if you feel confident about setting it up. Its worth it. Or try mod_php if you use Apache and don't care so much about the flexibility CGI would give you. Its very easy to setup as well.
cu
Roman