Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache suexec php

Status
Not open for further replies.

091273

Technical User
Aug 4, 2005
1
GB

trevor_o...@yahoo.co.uk Aug 4, 12:55 am show options
Newsgroups: alt.apache.configuration
From: trevor_o...@yahoo.co.uk - Find messages by this author
Date: 3 Aug 2005 16:55:26 -0700
Local: Thurs, Aug 4 2005 12:55 am
Subject: apache suexec
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse

I compiled apache 1.3.33 with suexec support like

./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--enable-module=ssl" \
"--activate-module=src/modules/php4/libphp4.a" \
"--activate-module=src/modules/perl/libperl.a" \
"--enable-module=perl" \
"--enable-module=most" \
"--enable-suexec" \
"--suexec-uidmin=100" \
"--suexec-gidmin=100" \
"--suexec-userdir=public_html" \
"--suexec-caller=nobody" \
"--suexec-logfile=/wallaby-local/apache/logs/suexec_log" \

Everthing is working fine, when I run a cgi script through web it is
suexec wrappered and only runs as the user who own the script,
but I run php script is not being suexec wrapper and runs as the user
nobody which is a security risk.

How do I enable PHP being executed through suexec? I do no mind compiling apache again.

Can you help? please
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top