Questions tagged [suphp]

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

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
275 views

suPHP and Apache DBD : change GID only

(Note: if you're familiar with suPHP setups and want to skip the question's details, you'll find a quick explanation of what I'm trying to achieve at the end) I am currently setting up a machine to ...
John WH Smith's user avatar
1 vote
1 answer
648 views

how to prevent user from access another user file in php-fpm and nginx as suphp doing

I'm using Nginx and PHP-FPM and have many users , every user has his own user name and group but I see that every php execeutes run as id,uid,gid nobody, also I know that php-fpm.conf has user and ...
ezak's user avatar
  • 13
1 vote
0 answers
947 views

AWS Linux EC2 - How to install suPHP or FastCGI php hander

Seems I'm having permissions issue with AWS Linux EC2. Specifically, I am migrating a Joomla site, and extension and core updates from Joomla Admin won't install because of Apache user/group ...
BradM's user avatar
  • 111
1 vote
0 answers
340 views

suPHP won't allow access to PHP sources

I am running suPHP with Apache2 and PHP5.4 on a Debian Wheezy. I found out that .phps files won't be showed and access will result in a 403 page. The same file with equal chmod/chown/chgrp will be ...
Daniel Marschall's user avatar
1 vote
0 answers
324 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 (...
Chrysippus's user avatar
1 vote
2 answers
305 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 ...
Jack's user avatar
  • 535
1 vote
0 answers
1k 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 ...
trante's user avatar
  • 131
1 vote
1 answer
806 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 ...
Kamil's user avatar
  • 11
1 vote
0 answers
347 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 ...
user avatar
0 votes
1 answer
162 views

Centos Apache 2.4 exec suphp bin with chmod 0444

I am stuck on this since fews days, I am using suPHP & Apache 2.4 on Centos 6 on VPS (OVH) since few years, then since sunday, the binary chmod is always restored to 0444 so it cannot execute and ...
David's user avatar
  • 1
0 votes
1 answer
354 views

PHP 5.4 packages are installed but the server is using PHP 5.3

I'm trying to upgrade PHP 5.3 to 5.4 on a CentOS 6.7 VPS. Followed the Webtatic instructions here: https://webtatic.com/packages/php54/ Now at a stage where the 5.4 packages are installed, but PHP 5....
Rich Smith's user avatar
0 votes
1 answer
314 views

Apache + SuPHP + hundreds of visitors + web uploading = CPU on its knees. Any idea other than Switch To NginX?

In certain conditions, a CMS brings my server on its knees (0% CPU left while the server load is never above 20% usually, officially from mysqld, tons of wait and tml in mysql, mysql's slow log ...
EcchiOli's user avatar
0 votes
1 answer
2k views

Apache fast-cgi and php-fpm - Run PHP File as the owner

I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners ...
Kshitiz's user avatar
  • 119
0 votes
1 answer
573 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 ...
Timo Kähkönen's user avatar
0 votes
1 answer
429 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 ...
jmotes's user avatar
  • 101
0 votes
1 answer
758 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?
user avatar
0 votes
1 answer
221 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. ...
user avatar
0 votes
1 answer
337 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 ...
ServerChecker's user avatar