Skip to main content

CPANEL-36255 - I need change php version default

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! The "inherit" value should be what is set in the WHM >> MultiPHP Manager page for the default version. Under the data listed there you'll see the following: "This setting applies to new account creations and domains set to inherit the System PHP Version." Can you confirm that PHP 5.6 is not set to the system default on that page?
    0
  • ndmanhcuong
    Hey there! The "inherit" value should be what is set in the WHM >> MultiPHP Manager page for the default version. Under the data listed there you'll see the following: "This setting applies to new account creations and domains set to inherit the System PHP Version." Can you confirm that PHP 5.6 is not set to the system default on that page?

    You can see i set System PHP version 5.6, but when i create new hosting but when i create new hosting, php version in hosting is inherit, and i don't undersand this, you can help me.
    0
  • cPRex Jurassic Moderator
    Thanks for those screenshots. In your current configuration, any new accounts would be set to PHP 5.6 by default unless you change them from the "inherit" value. "Inherit" just means they will take the server-wide settings from the machine and apply it to new accounts, so what you are seeing is the behavior I expect to happen. If you want to change the version after that you can do that from the same page. Can you let me know specifically what isn't working on that page for you?
    0
  • ndmanhcuong
    Thanks for those screenshots. In your current configuration, any new accounts would be set to PHP 5.6 by default unless you change them from the "inherit" value. "Inherit" just means they will take the server-wide settings from the machine and apply it to new accounts, so what you are seeing is the behavior I expect to happen. If you want to change the version after that you can do that from the same page. Can you let me know specifically what isn't working on that page for you?

    Yes, I have to change again PHP 5.6 for new accounts and enable PHP-FPM. My idea is an automatic set PHP version 5.6 If I don't set PHP 5.6 and don't enable PHP-FPM my source code PHP don't run
    0
  • cPRex Jurassic Moderator
    I think I see the issue now - you are saying when you create a new account that it will show up with that "Unavailable" box next to PHP-FPM, and you need to manually change that for new accounts? Is that correct?
    0
  • ndmanhcuong
    I think I see the issue now - you are saying when you create a new account that it will show up with that "Unavailable" box next to PHP-FPM, and you need to manually change that for new accounts? Is that correct?

    Yes. Exactly. My problem manually change that for new accounts
    0
  • cPRex Jurassic Moderator
    Thanks for the clarification - I was able to reproduce this behavior so I've created case CPANEL-36255 to let our developers know about this. The best way to resolve this at this point is to use the WHM >> MultiPHP Manager page and the "Enable on all domains" button to get that enabled for new accounts. If I hear an update I'll be sure to reply to this thread with more details.
    0

Please sign in to leave a comment.