Executable not set-uid root php

在redhat上配置了pureftpd,然后装了一个web的界面进行管理,凡是web的界面怎么都访问不了,505错误,查看apache的log,原来是报了

SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?

 

搜索了半天终于解决,

 

 chmod +s /opt/suphp/bin/suphp

 

当然你的suphp的目录可能不是这样,没有关系

locate suphp查询下!

你可能感兴趣的:(apache,PHP,OpenSource)