Questions tagged [suexec]
8 questions
7
votes
1 answer
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 at Apache's error log I'm seeing the errors…
compixtr
- 385
- 1
- 3
- 14
3
votes
1 answer
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/rebuild_phpconf --current
DEFAULT PHP: ea-php56
ea-php55 SAPI:…
user6860
2
votes
1 answer
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 -f -o /tmp/apache.strace /etc/init.d/apache2…
Flup
- 8,017
- 2
- 33
- 50
1
vote
1 answer
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 AP_LOG_EXEC="/var/log/httpd/suexec.log"
-D…
compixtr
- 385
- 1
- 3
- 14
1
vote
1 answer
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/modules directory.
I appended LoadModule…
Nathan Lutterman
- 244
- 1
- 3
- 13
0
votes
0 answers
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 I enabled suexec, which works for Python or Perl…
Kamil
- 1,311
- 2
- 14
- 31
0
votes
1 answer
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 on my test system:
…
Flup
- 8,017
- 2
- 33
- 50
0
votes
1 answer
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 /var/log/httpd/netmet.access
DirectoryIndex …
klaypez
- 303
- 1
- 2
- 9