Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Enable PHP optimisation for Magento site

Discussion in 'Workarounds and Optimization' started by regisit, Mar 7, 2014.

  1. regisit

    regisit Active Member

    Joined:
    Jul 31, 2013
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    We have a dedicated server in default cPanel configuration (running suPHP). There is currently one cPanel account running a Magento store. The server may run additional WordPress sites at a later date, but all are owned by the same company - ie. no shared hosting with anyone else. The server has 32GB RAM.

    Magento is a massive beast with thousands of PHP files and the site speed needs improving. All indicators point to PHP optimsation as a good way to achieve this if we have the memory available for the caching - which we do. However, with suPHP there no scope for this. The site is live so no "try this and see if it works" options allowed! We need a 100% certified safe approach. This question is multi-fold:

    Should we switch to DSO or FCGI so that we can enable eAccelerate?
    I've read that switching to DSO can cause issues due to file permissions. Magento permissions are mostly 755/644 but DSO needs 777 apparently. Is FCGI the better option for a site that currently works fine with suPHP?

    Is eAccelerate like to result in a measurable improvement in response times for Magento
    Ideally looking here for comments from anyone who has actually done this and seen a marked improvement

    Is there a better alternative to eAccelerate supported on WHM/cPanel e.g. APC?
    Again, anyone used an alternative configuration on WHM/cPanel and seen marked improvements? If so, what are the steps to switch from suPHP with no optimisation to something else with, in a totally risk free way?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You may want to consider setting up a development environment to make sure any changes you make do not result in error messages on your website. While switching PHP handlers is straightforward for the most part, it is possible that some scripts may require different permissions on DSO compared to suPHP.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. regisit

    regisit Active Member

    Joined:
    Jul 31, 2013
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Yes, that would be simpler to achieve if cPanel allowed us to set up a test server under the licensing terms. But I understand that cPanel has no such test/backup server licensing allowance.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Correct. If you need to have a 100% safe approach, you might want to pick up a VPS for 20 bucks somewhere and test there. That's how most Hosting Providers do this sort of thing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice