0
votes
1answer
104 views

apache+php-fpm and security in shared enviroment compared to apache+suexec+mod_fastcgi

I've been using Apache with suexec and mod_fastcgi. It starts up PHP handlers as the selected system user and listens to request via PIPES (fastcgi protocol). It works well but can't share opcode via ...
0
votes
1answer
356 views

Multiple VHosts with FastCGI and Suexec

I have a Debian virtual machine server which I have full control over, but I have someone who wants to host a single domain on it. This is obviously a security concern, as even if his particular user ...
0
votes
2answers
596 views

Can't Get New Instance Of RT To Start

I am trying to transplant an instance of RT 4.0.1 (with local code customization) from a CentOS 4 server to a CentOS 6 server. My problem appears to be that I can't get the fastcgi script to start. ...
13
votes
1answer
4k views

Multiple php versions simultaneously on Ubuntu

I want to be able to run multiple php versions on my development box running Ubuntu 12.04. What I want to accomplish is that when I use localhost as domain a default is used (let's say php 5.3.17). ...
0
votes
3answers
289 views

Apache - suExec - FastCGI - PHP = security issue

I installed Apache with FastCGI (mod_fastcgi), suExec and PHP on my local development box. Working perfectly, except one thing. Let's say I have two users: user1 - /home/user1/public_html user2 - ...
2
votes
4answers
4k views

SuExec: “command not in docroot” Even Though It Is?

Arch Linux 2011.08.19 (Linux 3.4.2 i686) Apache 2.2.22 with SuExec PHP 5.4.4 (cli) via FastCGI My sites were all working fine earlier… I’m not sure when it happened because I noticed it over a week ...
-3
votes
1answer
199 views

How do you setup PHP to run as user as CGI?

Been trying lots of examples but nothing seems to be working. I don't wanna use yum/apt-get I want to do everything from source so I get a better understanding. Yum/apt-get just cheats the system and ...
1
vote
2answers
865 views

Why the php-cgi wrapper script for php-fpm? (Using virtualhost and suexec.)

I just setup my server with Apache, FastCGI, and PHP-FPM. My question is regarding the /cgi-bin/ folder: is it really necessary to have a /cgi-bin/php-fpm wrapper for every single virtualhost that ...
1
vote
2answers
1k views

I need clarification on Apache2, MPM-Worker, FastCGI, PHP5-fpm, suEXEC?

My current configuration is: Apache2 + MPM-Worker AND FastCGI + PHP5-fpm (PHP 5.3.2) ON Ubuntu 10.04 LTS I have a single pool of 2-5 processes running as a different user from that of the default ...
1
vote
1answer
793 views

suexec error configuring mod_fastcgi with apache2.2.3 on centos

I've been following this blog post so that I can share APC opcode cache between PHP processes using FastCGI. Unfortunately I'm getting the following error when starting httpd: Starting httpd: Syntax ...
1
vote
1answer
248 views

Need advice in setting up server. fastCGI, suExec, speed, security, etc

I am running my own dedicated server with centOS 5 and WHM/cPanel. I would like to configure my server to meet my needs but I need a little help. It will only be my own websites being run on this ...
1
vote
2answers
2k views

Single fastcgi/php-cgi server for multiple virtualhosts?

I'm currently hosting sites for clients using the following setup: Apache 2.2.16 mod_fastcgi 2.4.7 php 5.3.3 Apache uses the worker MPM and serves PHP through a dynamic FastCGI config: ...
0
votes
2answers
182 views

Forcing scripts on apache to run under different accounts to enhance security?

My client's website was recently defaced and they are seeking was to mitigate this risk. They have a dedicated server running apache and mod_php. The website consists of three separate php ...