Skip to main content

Changing default PHP version

Comments

4 comments

  • dalem
    you need to set the current sites to php 5.6 (not inherent) then switch your inherent/default php to 7.2
    0
  • flashweb
    Changing all sites manually is not practical as most sites set to inherit and i need this done on multiple servers. Anyway i can do this in command line or edit some file, so it will change default PHP version for new sites with out altering current sites PHP version ?
    0
  • dalem
    you can change them all at once VIA WHM multi php handler
    0
  • cPanelLauren
    As suggested by @dalem to change the version of PHP for new accounts (this changes the system default as well) go to WHM>>Software>>MultipPHP Manager and set the "System PHP Version" to the version you'd like all the accounts that are set to inherit as well as new accounts to be set to.
    0

Please sign in to leave a comment.