I recently ran into this problem on a server which has been successfully running suphp for some time. Basically, suphp rules do not engage when a php file is requested. The file is processed as the apache user instead of the owner, and permissions and group ownership rules are not enforced. The problem was first noticed about a month ago, and only affects php pages that attempt to write to the local directory (like docuwiki). We use suphp for userdir pages.

I found the following related threads:
[suPHP] Debian Lenny + suPHP + UserDir
https://lists.marsching.com/pipermail/suphp/2010-June/002358.html
[suPHP] Using php5 and suphp at the same time
https://lists.marsching.com/pipermail/suphp/2010-March/002322.html

and tried workarounds suggested in both, but still cannot get suphp to do its thing. If I unload mod_php5 or try the method in the second thread linked above to load mod_suphp first, then no php files are processed and a 500 error is returned.

I am not seeing anything getting logged in the suphp.log file, even in debug logging mode, nor am I getting any errors from apache in debug mode that might indicate the source of the problem.

I don't know what might have changed for it to suddenly stop working on the server. In testing this, I created a new, clean server, but am seeing the same symptoms on it. The new server is running ubuntu server 8.04.3 (hardy) which is close to debian lenny.

Apache version is 2.2.8. I've tried the mod_suphp in the ubuntu repositories, which is version 0.6.2, and compiled 0.7.1 from source. PHP version is 5.2.4.

Can somebody tell me what's going on here or give me some more methods to debug the problem? Any suggestions are welcome. I can pastebin my configs if anybody would like to see them.

Thanks.
Seth

--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
[email protected]
785-532-7790

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to