On 17/07/14 18:28, John WH Smith wrote: > Hello, > > I've been struggling for several days trying to setup suPHP in a > satisfying way, and I ended up realizing the problem came from the > module's code itself. > For instance, in 0.7.1: > > In API_Linux.c, line 473 (chdir call) : the condition should be > reverted. At the moment, the module throws a SystemException when the > call actually succeeds. > In API_Linux.c, line 442 (execve call) : this function call should NOT > be submitted to the chroot. It's supposed to call the php-cgi > interpreter, but it won't find it if the program is chrooted into some > user directory. The chroot should only be applied upon script execution, > but not before. > > Because of these, I just can't use suPHP for my case. I'll have to > switch to another solution. > Now, with a bit of luck, this feature may have been fixed in 0.7.2, > however here's another problem : the package for 0.7.2 is incomplete. > The "./configure;make;make install" won't succeed as it requires a > install.sh/install-sh script, which does not exist in the config dir. > > Hoping this module hasn't already become a ghost. > JWHS. > > _______________________________________________ > suPHP mailing list > [email protected] > https://lists.marsching.com/mailman/listinfo/suphp
My apologies for this message. I had further reading concerning the module, and it calls "chroot" far earlier than I though, hence my errors. I'll review my setup. _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
