安装 php5-cgi
我正在尝试安装新的 LEMP(Linux、Nginx、MySQL 和 PHP)。我读过的所有内容都说,为了使用 PHP 的 Fast CGI,只需运行“yum install php5-cgi”。我从 Amazon EC2 实例运行它,它只是告诉我 php5-cgi 不可用。我还尝试下载源 php5 包并运行“./configure --with-php5-cgi 并完成但说: 注意:使用了以下未知配置选项: --with-php5-cgi
对我做错了什么有帮助吗?我见过使用 lighthttp 的 fastcgi 进行安装,但似乎大多数人建议您使用 php 的内置版本。
链接到我正在关注的安装说明:链接
I am trying to install a new LEMP (Linux,Nginx,MySQL and PHP). Everything I have read says that in order to use PHP's Fast CGI to just run "yum install php5-cgi". I am running this from an Amazon EC2 instance and it just tells me that php5-cgi is not available. I have also tried downloading the source php5 package and running "./configure --with-php5-cgi and it finishes but says:
Notice: Following unknown configure options were used:
--with-php5-cgi
Any help on what I am doing wrong? I have seen installs using lighthttp's fastcgi but it seems that most recommend you use php's built in version.
Link with the install instructions I am following: link
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论