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

learn more… | top users | synonyms

0
votes
2answers
997 views

Am I running PHP or suPHP

I am testing to see if I am running PHP or suPHP. when I issue phpinfo() I get back over 600 lines of data. The only mention of suPHP occurs here <tr><td class="e">Loaded Modules ...
0
votes
1answer
845 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 ...
4
votes
1answer
216 views

What exactly does SuPHP do?

And is it necessary? I've read a bunch of pages on it and I can't for the life of me actually figure it out, as opposed to what apache and just plain old php already do.
1
vote
2answers
1k views

Should I use suphp or mod_php for shared hosting?

I am considering using suphp. It seems that newly created files in php get ownership apache.apache and this can become an issue. Also it seems that monitoring of spam sent and load usage by php ...
0
votes
1answer
341 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
267 views

Initial Fatal Error: Out of Memory on Wordpress after switching to suPHP

I recently rebuilt Apache to include mod_suPHP (previously using DSO). But after switching to suPHP, Wordpress sites hosted on my VPS would return something like, Fatal error: Out of memory ...
2
votes
1answer
529 views

php4 and php5 together, same extension, restrict 4 to a folder

Is there any way I could have php 4 and 5 installed in the same server, while keeping the same ".php" extension for both, and making it so only a specific folder (+subfolders) in the server run under ...
1
vote
2answers
2k views

Running mod_php and suPHP same time

I recently went from Debian Lenny with 5.2.x and was able to use mod_php for any php files that were not located in /home/ and suPHP for all the php files that were located in /home/. I did this ...
0
votes
1answer
516 views

Change location of error_log for userdir + suphp

I have needed to duplicate a FastCGI + suPHP, and I have re-created the setup but unlike the CentOS one my error_log files are all in /log/apache/ instead of the directories where the script triggered ...
1
vote
1answer
311 views

Security / Permissions when multiple sites accessing single directory : SuPHP

I am on a HostGator "Basic" Dedicated linux server. A current project calls for an image library that is accessible from multiple sites on the server. We are running SuPHP so each site has a ...
6
votes
2answers
4k views

Running phpmyadmin and suphp

I have a Debian Lenny web server. It is running apache2 with libapache2-mod-suphp. Unfortunately, suphp makes impossible to use phpmyadmin, as phpmyadmin is installed in /usr/share/phpmyadmin and ...
1
vote
1answer
2k views

suPHP not working

OS: Ubuntu 10.04 etc/suphp/suphp.conf: [global] ;Path to logfile logfile=/var/log/suphp/suphp.log ;Loglevel loglevel=info ;User Apache is running as ...
1
vote
0answers
226 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
1answer
276 views

What's with suphp?

I inherited a web server running Apache/PHP on a CentOS 5 machine. This is a hosted server so I am still familiarizing myself with the environment. There is really no user activity on this machine, ...
0
votes
1answer
467 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
181 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
842 views

Setting up Suexec on apache on Godaddy Virtual private hosting

I have recently purchased Godaddy VPS (Virtual Private Server) with their custom control panel and CentOS 5.4 From their control panel I am able to add domains to the server with their own user and ...
1
vote
2answers
10k views

Apache + SuExec + php-fpm - how to set them up?

I wonder if there is a good guide on how to setup Apache + SuExec + php-fpm? I have a server which I am going to use several separate website. So, I need php to be run as site-owner user. As I can ...
0
votes
1answer
296 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 ...
6
votes
4answers
2k views

What Apache/PHP configurations do you know and how good are they?

I wanted to ask you about PHP/Apache configuration methods you know, their pros and cons. I will start myself: ---------------- PHP as Apache module---------------- Pros: good speed since you don't ...
10
votes
1answer
2k views

Apache, suexec, PHP, suPHP

While I'm quite comfortable as a Linux user, my Linux Admin-fu is a bit weak. Thus, I'm here looking for guidance with a CentOS server I'm about to build. I need to setup an Apache2 web server for a ...