Git Product home page Git Product logo

lightsey / mod_suphp Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 5.0 303 KB

suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

License: GNU General Public License v2.0

Makefile 1.14% M4 15.61% C++ 69.12% C 14.12%

mod_suphp's People

Contributors

lightsey avatar smarsching avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mod_suphp's Issues

Error compiling on Debian 8.6

Hello,

I was compiling your suPHP fork, and I experienced the following error while compiling it:

checking how to hardcode library paths into programs... immediate
./configure: line 15296: syntax error near unexpected token `,optional'
./configure: line 15296: `AX_CXX_COMPILE_STDCXX_11(,optional)'

What seems to be the issue?

Thanks.

with-setid-mode ignored?

Hello, I am trying to build suphp on a Ubuntu 18.04 box with the following configure syntax:

./configure --prefix=/usr --sysconfdir=/etc/ --with-setid-mode=owner --with-logfile=/var/log/suphp/suphp.log

It builds with no errors, and config.log does have "#define OPT_USERGROUP_OWNER 1", but if suPHP_UserGroup is not specified in the apache conf i get this error:

SecurityException in Application.cpp:361: Environment variable SUPHP_USER or SUPHP_GROUP not set

It seems to me like suphp is running in paranoid mode.

config.log

Variable substitution in docroot eats a char

When configuring docroot, I ran into an issue which seems to be that the variable resolution eats the next character after the pattern.

What I expected to work: ${HOME}/public_html
What actually worked: ${HOME}Q/public_html

Compiled on Ubuntu 18.04 from current git as of this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.