[closed] Using SuPHP on a VPS (5 posts)

  1. Parafly9
    Posted 3 years ago #

    Hi guys, I am running a site with a WordPress CMS. I tried to install W3 Total Cache to speed up the site files, but I didn't know which opcode to pick (I am on a VPS), so I put a support ticket in with my host. The host came back telling me the following:

    APC is not available on your VPS. Your VPS is running PHP with SuPHP, so the APC will not work with it. 
    -bash-3.1# hostname
    -bash-3.1# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso cgi none
    PHP4 SAPI: none
    PHP5 SAPI: suphp
    SUEXEC: enabled
    RUID2: not installed
    The suPHP is a must as it provides an additional layer of protection on servers. It causes php scripts to run under the account username instead of the user ‘nobody’ which is the user that apache/php would run under on a server that is not running suPHP. This feature allows us to more easily track any potential security breaches that come in via insecure php script(s) that a user is running. 
    If you still want APC, then we will need to recompile PHP without suphp on your VPS. Please note that some websites scripts may not work with PHP without suphp.

    I also run a forum on the site that is handled with vBulletin. Do I need suPHP? Is the tradeoff for speed with caching worth removing it? I am not a sysadmin but I read that suphp is mostly recommended when on a shared server.

  2. lesb55
    Posted 3 years ago #

    If you have your own VPS and can compile apache the way you want (Easy Apache), we have found: PHP 5 Handler-dso, with Apache-Mod Ruid2 is by far the best way to go.
    All the security and convenience of suEXEC, with the blistering speed of W3 Total Cache & APC.
    Our VPS host is http://www.crucial.com.au/
    Reasonable prices for xen VPS, rock solid support & uptime with this company.
    We run an ecommerce WP site with up to 40 different plugins and lots of products, yet our Yslow score is 89, Page Speed: 96 (home page).

  3. Frederick Townes
    Posted 2 years ago #

    I don't recommend suPHP because it's slow and security it provides is not necessarily better than what you can do by properly configuring your server. Switching to php-fpm or mod_php with APC is where you want to be to start to scale PHP.

  4. mezh
    Posted 2 years ago #

    agree with Lesb55, have a chat to the guys at crucial, alternatively if you chat to one of the guys at [link removed] (part of my team) they will be able to assist

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    @mezh - please do not use these forums to solicit business or advertise - see:


Topic Closed

This topic has been closed to new replies.

About this Topic