简体   繁体   English

如何在Ubuntu 10.04服务器上禁用suphp

[英]How do I disable suphp on ubuntu 10.04 server

I have put together a small ubuntu 10.04 server with apache2 and php for use only for testing purposes. 我用apache2和php组装了一个小型ubuntu 10.04服务器,仅用于测试目的。 I am finding suphp keeps getting in my way. 我发现suphp一直妨碍着我。 Doubtless this is a useful tool for security etc, but right now, as this is only a local testing ground I would like to disable it to prevent it continually throwing errors relating to file ownership etc. 毫无疑问,这是用于安全性等方面的有用工具,但是现在,由于这只是一个本地测试场,我想禁用它,以防止它不断抛出与文件所有权等相关的错误。

So, as the title says: How do I disable suphp on ubuntu server 10.04. 因此,正如标题所述:如何在ubuntu服务器10.04上禁用suphp。

Thanks 谢谢

a2dismod suphp->禁用su php mod

instead of disabling all use virtual hosts conf file or http.conf and add 而不是禁用所有使用虚拟主机的conf文件或http.conf并添加

 <VirtualHost ..>
  suPHP_Engine off
  ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM