suPHP is a tool for executing PHP scripts with the permissions of their owners.

learn more… | top users | synonyms

1
vote
2answers
217 views

Securing php on a shared apache

I'm going to install apache+php in a server where two users, A and B, will deploy their website. I'm trying to achieve isolation of users' space for security reasons: that is no scripts from site A ...
1
vote
1answer
445 views

Suphp and mod_fcgid on one server

Hi is it possible? My script not work with mod_fcgid, but work with suphp so I would like run one domain with suphp and other with mod_fcgid+xcache on one server. I don't want run every sites with ...
1
vote
1answer
540 views

fcgid / suExec + phpMyAdmin

I recently installed mod_fcgid and suExEc on my Ubuntu server following these instructions: http://www.howtoforge.com/Fhow-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-10.04 Since suExec does ...
0
votes
1answer
152 views

From suPHP to mod_php

I have a Centos6 64-bit server, Apache/2.2.15, PHP5.3.3, one IP and four name-based virtual hosts and SSL/SNI to provide https in addition to http. All those hosts are assigned to different linux ...
0
votes
1answer
220 views

Ubuntu with SuPHP and Wordpress - default perms of .htaccess file gives Apache 500 Error

Wordpress creates the .htaccess file with 600 file permissions (when permalinks are configured, etc.). I had to give it 655 before SuPHP would allow the homepage to load. I thought any files should be ...
0
votes
1answer
307 views

CSF Log Watching

I run suphp so the uid of scripts is for the user not the webserver. My log files are also in /home/$user/logs/error.log CSF only monitors /var/log/apache2/error.log However because of my setup i ...
0
votes
1answer
743 views

Apache: How to switch from CGI/FastCGI Server API to DSO?

Apache: How to switch from CGI/FastCGI Server API to DSO? I want to switch back and forth. I found this answer for the reverse step, but I need the the first part: Apache: How to switch to ...
0
votes
1answer
312 views

Gentoo server with suPHP cannot create child processes - out of memory

The exact error message is this: 12)Cannot allocate memory: couldn't create child process: /usr/sbin/suphp for <php script file> This is not a VPS, it's a generic Gentoo server. There is 1G ...
0
votes
1answer
417 views

Apache DSO file permissions 777

Ideally I would be using suPHP however I have been forced to use DSO... How worried should I be about setting the folders permissions to 777 and how can I improve the security of doing so?
0
votes
1answer
174 views

How do i activate or install suphp on my dedicated apache server?

i want to install suphp on my dedicated server, maybe it´s already installed and not activated but i don´t know hot to check for that. Can someone please tell me how to install and/or activate it. ...
0
votes
1answer
292 views

Temporarily Utilizing 304 Header on Apache for Crawlers

I have a client who has a hosting arrangement with 400 customer sites all hosted through SuPHP in CGI mode on Apache. The sysop is now gone and the client is calling on me for rolling out a new PHP ...
-1
votes
1answer
77 views

Cpanel + CSF + suPHP = no php brute force protection?

I have NOT found anyone else talking about brute force detection in CSF with suPHP enabled. Maybe I'm not seeing the real picture or need but it feels that suPHP is weak at brute force detection. Is ...
1
vote
0answers
42 views

ChrootDirectory for SFTP user in virtual host directory with write permissions and SuPHP

I am trying to give a SFTP user (user2) writeable access to a virtual host directory (website) in /var/www/mywebsite under Ubuntu 12.04. I have setup sshd_config to use Chrooting so that this user ...
1
vote
0answers
175 views

Suphp connection reset by peer in error logs

In my Linux server's logs I have this record nearly every 5 minutes. I couldn't find the reason for two weeks and I would be very happy if you can recommend me a way to diagnose the problem. It is ...
1
vote
0answers
214 views

PHP giving 500 internal server error on new server

I am trying to run a simple PHP script which displays phpinfo() but I am getting 500 internal server error. What could be the reason? Is it because PHP handler is set to suPHP and I shall change it to ...
0
votes
0answers
44 views

Webroot directory separation for Apache: suPHP or suEXEC ?

I've been reading a lot about directory permission setup under apache 2.4. Basically I am running a small number of clients with PHP apps on my dedicated Ubuntu (php 5.5.3 + apache 2.4). I know that ...
0
votes
0answers
180 views

Internal Server Error - Stack smashing detected

On certain pages on my VPS I get the following error. This happens with multiple VHOSTs. It has happened on both Wordpress and vanilla forums. It only happens when I run suphp rather than normal ...
0
votes
0answers
669 views

suPHP Causes Internal Server Error

WHen i enable suphp and disable php5 i get an internal server error, and these two in my error log. I have tried for ages to figure it out however it still will not work. It originally used to work ...