Skip to main content

How to set a very specific PHP version

Comments

11 comments

  • Jcats
    No, not possible. There will only ever be one minor version of PHP installed on the server and being that cPanel likes to ensure there are no lurking security issues, they will always update to the latest minor version of PHP shortly after the release. PHP 7 specifically is up to minor release 7.0.21 Rolling back to 7.0.6 brings back a whole slew of bugs and security related fixes. PHP: PHP 7 ChangeLog ctrl + f for CVE These are all security related fixes. You are better off waiting until Magento can fully support any release of PHP 7.
    0
  • Jafar Muhammed
    Alright @Jcats, I understand the concern. Thanks for the clarification. This thread is good to close.
    0
  • cPanelMichael
    Hello, In addition to the earlier post, keep in mind that PHP version 7.0.21 is currently provided with EasyApache 4. This is supported by Magento per their documentation because it falls under support for PHP "7.0.6"7.0.x". Thank you.
    0
  • Jafar Muhammed
    Yes @cPanelMichael, My thought is about Magento's in between missing of support as I expressed in my first post. After discussing with my friends, I do understand that from PHP 7.0.6 to the current PHP Version 7.0.21 there is no missing of support. Based on this assumption, I switched to PHP 7. And I can acknowledge that the website is now much faster than a couple of hours ago.
    0
  • Jcats
    Should enable PHP-FPM as well, even more speed! ;)
    0
  • Jafar Muhammed
    PHP-FPM enabled, @Jcats. Now waiting for MemcacheD in EasyApache4 :)
    0
  • Jcats
    Meh.. use Redis instead :) help.bigscoots.com/cpanel/cpanel-easyapache-4-installing-redis-and-redis-php-extension cPanel EasyApache 4 Installing Redis and Redis PHP extension devdocs.magento.com/guides/m1x/ce18-ee113/using_redis.html Using Redis With Magento Community Edition (CE) or Enterprise Edition (EE)
    0
  • Jafar Muhammed
    Glad to read that @Jcats. I am trying to install mod_http2 released a week ago. EasyApache 4 HTTP2 Support I will check Redis soon :)
    0
  • Jafar Muhammed
    Meh.. use Redis instead :) help.bigscoots.com/cpanel/cpanel-easyapache-4-installing-redis-and-redis-php-extension cPanel EasyApache 4 Installing Redis and Redis PHP extension

    Hi @Jcats, Thanks a ton for your Redis installation tutorial. I installed Redis and connected Magento 2. No errors, except github.com/magento/magento2/issues/9875 Redis Cache error " Issue #9875 " magento/magento2 " GitHub which I fixed. Now, I see, a much better performance.
    0
  • iero
    Hello, In addition to the earlier post, keep in mind that PHP version 7.0.21 is currently provided with EasyApache 4. This is supported by Magento per their documentation because it falls under support for PHP "7.0.6"7.0.x". Thank you.

    Please see my attached screenshot, I only see PHP71, i have no idea of the rest of the digits, could you please explain a little better if im selecting the right php version? thanks
    0
  • cPanelMichael
    Please see my attached screenshot, I only see PHP71, i have no idea of the rest of the digits, could you please explain a little better if im selecting the right php version? thanks

    Hello @iero, You are selecting versions of PHP in your EasyApache 4 profile that Magento supports. If you want to enable PHP 7.2, you'd need to enable that in your EasyApache 4 profile as well. You can assign PHP versions to specific accounts using
    0

Please sign in to leave a comment.