PHP无法在ubuntu上与Nginx配合使用?

编程入门 行业动态 更新时间:2024-10-25 00:35:14
本文介绍了PHP无法在ubuntu上与Nginx配合使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

根本不工作.

<?php phpinfo(); ?>

返回空白.我在Google上寻求帮助,但仍然没有运气. 我使用的是Ubuntu 10.10,nginx/0.7.67. 我使用了本指南设置它. 我的错误日志没有任何用处. 有人有什么想法吗?

Returns blank. I googled for help, but still had no luck. I'm on Ubuntu 10.10, nginx/0.7.67. I used this guide to set it up. My error log has nothing useful. Does anyone have any ideas?

推荐答案

您为什么不在常规的10.10仓库中使用软件包?我认为您遵循了错误的操作方法-那是2010年2月8日,即Ubuntu 10.10之前的操作.我在10.10上,可以看到以下软件包,我认为这些是您需要的:

Why didn'nt you use the packages in the regular 10.10 repos? I think you've followed the wrong how-to - that one is from 2010-02-08, i.e. before Ubuntu 10.10. I'm on 10.10, and I can see the following packages, I think these are the ones you need:

$ apt-cache search --names-only php5-fpm php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) $ apt-cache search --names-only nginx nginx - small, but very powerful and efficient web server and mail proxy

更多推荐

PHP无法在ubuntu上与Nginx配合使用?

本文发布于:2023-11-01 18:38:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1550094.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PHP   ubuntu   Nginx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!