Questions tagged [suphp]
suPHP is a tool for executing PHP scripts with the permissions of their owners.
70
questions
0
votes
1
answer
1k
views
Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies
We have a server that's handling uploads. The memory limit is set at a ridiculously high level in php.ini (800 M).. however we have gd, which is managing the image resizing, but it is dying at about ...
0
votes
1
answer
148
views
Restrict web access above a given directory (Apache 2.0 & suPHP)
How do I restrict web access to parent folders of the main website directory. For example if I have the following directories/files:
/
├── home
│ └── user
│ │ ├── img.png
│ │ ├── script.js
│...
0
votes
1
answer
1k
views
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 CGI/...
0
votes
1
answer
616
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 of ...
0
votes
1
answer
750
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
1
answer
1k
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 ...
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 ...
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....
0
votes
1
answer
493
views
Apache with suPHP does not honor php_admin_value in vhost config
I just found out that overriding php.ini settings in the vhost configuration does not work on Apache with suPHP.
The system is Ubuntu Server Edition 14.04 LTS and I installed Apache + PHP like this:
...
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
2k
views
500 internal error suphp [closed]
I'm using godaddy CentOS, Cpanle, suphp with easyapache and when i try to hit my php page i get 500 error and following lines in Apache log:
[Fri Apr 20 04:23:48 2012] [error] [client 182.178.175....
0
votes
1
answer
374
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 (...
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?
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.
...
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 ...
-1
votes
1
answer
340
views
Files uploaded with php scripts are owned by apache on Directadmin [closed]
Uploaded files are owned by apache, I have DirectAdmin installed and also mod_suexec is loaded into Apache. So is there anyway to upload file with account owner under mod_php(php5_module)?
-2
votes
1
answer
250
views
Why am I getting a save dialog box when I try to open phpmyadmin? [closed]
I got my apache2 server running and using suphp. I get a php test file to work at /var/www/html and at /home/usr/public_html. When I step into server/phpmyadmin I get a file save dialog box. The link ...