Using SuPHP on a VPS
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.
- The topic ‘Using SuPHP on a VPS’ is closed to new replies.