Forums

W3 Total Cache
Need Advice on APC Installation for WordPress (5 posts)

  1. rockyfp2
    Member
    Posted 10 months ago #

    Came across a few posts that recommends APC with Total Cache plugin for WordPress. But, I was told by hostgator "Our default cPanel installation uses suPHP with the "event" MPM...please be advised that suPHP is not compatible with the APC opcode cache. ".

    And, they also said, "we could try switching php to DSO instead of suphp. The advantage of suphp is better security. Moving to DSO would require that permissions on files be updated and some files would require 777 or 666 permissions in order for them to work properly."

    I have very little knowledge about server or coding; need some advice on (1) whether hostgator's recommendation is good for installing APC on hostgator VPS server (2) if it is, after switching to DSO, can file permission update be easily done, and bad consequences for wordpress sites?

    Thanks a lot for your time and help.

  2. Drew Jaynes (DrewAPicture)
    Member
    Posted 10 months ago #

    No expert here, but suPHP is the better option of the two, which means you'd need to find a different cache plugin like WP Total Cache or others. It sounds like with DSO you'll have to leave part of your WP install wide open with 777 permissions, something that is generally avoided with best-practice server administration.

    In short, your best option is to find a different caching plugin that's compatible with suPHP.

  3. rockyfp2
    Member
    Posted 10 months ago #

    Thanks DrewAPicture

  4. Chris Olbekson
    Member
    Posted 9 months ago #

    @rockyfp2,

    Hostgator is wrong and does not understand how anything works except for suPHP because it keeps users safe on their SHARED hosting accounts.

    If you are on a VPS or dedicated server without other users there is no point in running suPHP. You need to have them recompile Apache to run as DSO without suExec or suPHP. You can also do this yourself using EasyApache in WHM and install APC using the W3 Total Cache instructions.

    For cPanel DSO your public_html folder has to be owned by the user with group set to nobody. Any file that WordPress needs to write to (wp-content dir) needs ownership set to nobody:nobody with 755 for folders and 644 for files.

    @DrewaPicture There are no opcode or object cache plugins compatible with suPHP.

  5. Frederick Townes
    Member
    Posted 3 months ago #

    Great advice as always @c3mdigital!

Reply

You must log in to post.

About this Plugin

About this Topic