How do I disable suphp on ubuntu 10.04 server

£可爱£侵袭症+ 提交于 2020-01-05 07:42:26

问题


I have put together a small ubuntu 10.04 server with apache2 and php for use only for testing purposes. I am finding suphp keeps getting in my way. 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.

Thanks


回答1:


a2dismod suphp -> to disable su php mod




回答2:


instead of disabling all use virtual hosts conf file or http.conf and add

 <VirtualHost ..>
  suPHP_Engine off
  ...


来源:https://stackoverflow.com/questions/8462428/how-do-i-disable-suphp-on-ubuntu-10-04-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!