WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Parafly9
    Member
    Posted 1 year 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
    server.xxxxx.com
    -bash-3.1# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: suphp
    SUEXEC: enabled
    RUID2: not installed
    -bash-3.1#
    ==================================================== 
    
    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
    Member
    Posted 1 year 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).
    http://www.lusanbidets.com.au

  3. Frederick Townes
    Member
    Posted 1 year 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
    Member
    Posted 8 months 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
    Volunteer Moderator
    Posted 8 months ago #

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

    http://codex.wordpress.org/Forum_Welcome#Helping_Out

Topic Closed

This topic has been closed to new replies.

About this Topic