suphp

  1. M

    Switching from suphp to fcgi , Internal Server Error

    Hi I want to switch from suphp to fcgi , When I switch the handler, My site(s) throw a 500 Internal Server Error. This is the error: client denied by server configuration: /home/myuser/public_html/whm-server-status I run: tail -f /usr/local/apache/logs/error_log I get this error...
  2. sahostking

    Permissions issue suPHP and SuExec

    Hi, Please inform me if there is anyway to fix this: It looks like this initially when an account is created: drwxr-x--- 3 skylensc skylensc 4.0K Nov 4 06:03 public_html/ But when I chmod 755 public_html/ then it looks like this and works: drwxr-xr-x 3 skylensc skylensc 4.0K Nov 4 06:03...
  3. M

    Suphp log repeating entries every second

    Hello, I'm going through my various logs trying to get everything into good shape, and I've noticed that I'm getting entries for the same action being repeated every second on one of them. - When checking the access logs, I can see the following, which appears to be someone trying to...
  4. S

    SuPHP ban access to htdocs

    Hi, I have this line in .htaccess : RewriteRule ^sites/([^/]+)/sitemap.xml$ /usr/local/apache/htdocs/sitemap.php?slug=$1 But SuPHP prevents me from accessing "/usr/local/apache/htdocs/" from other sites. Someone knows how to solve it? Thanks in advance
  5. M

    suphp from ram disk

    Has anyone been able to run suphp from ram on linux? Here's what I done. I copied the entire folder suphp to the ram disk (in /dev/shm folder) from the /opt folder with all permissions intact. I also copied this elsewhere on the server as a backup. I then deleted suphp from opt. Then I...
  6. sahostking

    suphp to fastcgi error

    Hi, I see one of our engineers tried changing a server from suPHP with many domains on to fastcgi. I found in the logs the following: [warn] [client 11.22.33.44] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [error] [client 11.22.33.44] Premature end of...
  7. M

    suPHP flooding the server

    Hello, I'm facing problems with suPHP on my server. It's suddenly generating a lot of processes which makes the load higher and sometimes the server becomes unresponsive and because of very high load the server sometimes doesn't come back online until I reboot. I have included below the list...
  8. sahostking

    suPHP to FastCGI

    Lets say I were to move from suPHP to FastCGI. Good idea? Server has 8GB Memory and 4 cores. I could increase these if needed. Any issues I would encounter for a whole server with roughly 200 websites on? Server uses Cloudlinux. Any recommendations? or experiences regarding this for a...
  9. M

    suPHP and eAccelerator?

    Hi, We want the security of suPHP with the performance of an opcode cache. We've always heard that no opcode caches work with suPHP because opcode caches cache user data and that's not consistent with the way suPHP works. However, I have heard that cPanel's implementation of...
  10. D

    suPHP Causes 500 Error on info.php files

    I am using suPHP as my handler, however when I create a file with: <?php phpinfo(); ?> I always get a 500 error. If I use FCGI it works fine, however i'd prefer to use suPHP. Any ideas?
  11. K

    SuPHP [warn] Directory / is not owned by $user

    Hey guys, So I managed to do ~something~ while updating my SSL certificates yesterday and now all users on my VPS cant parse PHP files. /usr/local/apache/logs/suphp_log has started filling up with: [warn] Directory / is not owned by $user And then in /usr/local/apache/logs/error_log: [error]...
  12. L

    DAV module with suphp

    Hi, Is it possible to install below DAV modules on shared cpanel server with suphp enabled (as it is require for one of the website running with tomcat) ? As I have read on a website " mod_dav module may not work well with SuPHP enabled servers. Since mod_dav runs as the Apache user (”nobody”...
  13. O

    500 server errors. after changing to suphp

    Just changed my php handler from DSO to suphp. Ran a script to change permissions and ownerships. I've updated perl and upcp - force but I get the error below when trying to access individual account WHM controls.
  14. A

    internel server error with suphp and suexec

    Hello, I am having a shared server with suphp and suexec. All the sites in this server are giving internel server errors. =========================================================== [Sun Dec 02 08:53:02 2012] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php [Sun...
  15. N

    Permission problem after disabling suphp

    Hello, So I had suphp enabled by default in my server but I wanted to rebuild apache and php, once done I had big problem with permissions, my script could not include/open/write any file even when the folder permission is 777. So I had to enable suphp again and it worked just fine. Is there...
  16. P

    suphp restrictions

    Hi Guys My server has incorporated suphp restrictions on the server side without notice. My site has worked with no issue for 5 years, but now it is coming up with Internal 500 error. I got this from support: You are trying to access the perl script uploaded in cgi-bin folder of...
  17. M

    suphp installed - want to chown, but getting an error

    Just changed from dso to suphp... changed all folders to 755 and all files to 644. Now, even though it appears my ownership for files is correct user:nobody for public_html and user:user for all contents of it (has always been that way so not sure why other people are differnt)... I still...
  18. S

    mod_userdir with suPHP - 500 errors when browsing php files

    HI, http://x.x.x.x/~username/file.php Gives this in error_log: [Tue Sep 11 09:46:49 2012] [error] [client y.y.y.y] Premature end of script headers: file.php, referer: http://x.x.x.x/~username/file.php Any clues? Apache 2.2, php 5.3.x
  19. M

    DSO and suPHP for php5?

    I have a particular app that I want to make available to all my clients on all my servers, but it doesnt work well with php running in cgi modes and all my servers run either suphp or fastcgi for php5. Users wont need access to the actual files and its going to just be a single install on each...
  20. I

    Setup a per-user php.ini to allow open_basedir with suPhp

    hi, i read an topic on directadmin Setup a per-user php.ini to allow open_basedir with suPhp i want Cpanel support make this on Cpanel server. Thanks cpanel very much