Questions tagged [suexec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
80 views

command not in docroot (suexec)

I'm setting up a server but when I'm trying to config suexec it's returning this error: [2022-05-21 17:10:53]: uid: (1004/scripts) gid: (1008/scripts) cmd: register.cgi [2022-05-21 17:10:53]: command ...
  • 48
0 votes
0 answers
726 views

Apache 2.4 + mod_php/PHP-FPM + suexec + userdir on Debian 10

I cannot find a working, modern configuration to resolve this. I'm using Debian 10 and installed Apache 2. I have dozens of users, so I enabled userdir. I do not want their code to run as www-data, so ...
  • 1,211
3 votes
1 answer
2k views

Apache: how to run PHP files via CGI as normal user and without them being executable

Background Config of server I want to mimic I have access to a CentOS 7 server with cPanel/WHM installed, running EasyApache4 with the following configuration: # /usr/local/cpanel/bin/...
user avatar
0 votes
1 answer
816 views

PHP and suexec on Debian Stretch

I am trying to get suexec working with PHP on Debian Stretch (Apache 2.4.25). I have the Debian package's default set of modules loaded plus cgid and php7.0. This is the VirtualHost block I'm using ...
  • 7,727
0 votes
1 answer
689 views

Scipts cgi and suexec

I have a httpd server SuexecUserGroup netmet netmet DocumentRoot /home/netmet/html ServerName ServerAdmin ErrorLog /var/log/httpd/netmet.error TransferLog ...
  • 303
2 votes
1 answer
551 views

Apache suexec won't work with strace

I have an Apache instance with mod_suexec enabled. I'm trying to debug a problem and am starting Apache with strace to try and see what's happening. However, when I start Apache like this: # strace ...
  • 7,727
1 vote
0 answers
1k views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the /etc/httpd/...
7 votes
1 answer
2k views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
  • 375
1 vote
1 answer
5k views

Changing suEXEC Path / CentOS 6

I have recently installed httpd on a Centos 6 server. From what I see suEXEC was compiled with the values below; -D AP_DOC_ROOT="/var/www" -D AP_GID_MIN=100 -D AP_HTTPD_USER="apache" -D ...
  • 375