Skip to main content

How to find which domains using a specific PHP version?

Comments

5 comments

  • rpvw
    Try going to WHM >> Software >> MultiPHP Manager and searching for ea-php70 or similar OR In the same UI, click on the PHP Version title at the top of the table column to order your listing by versions (click again to reverse the list order)
    0
  • Archmactrix
    You can also use a WHM API call to list the virtual hosts that use a specified version of PHP. This the command line method I'm using here:
    whmapi1 php_get_vhosts_by_version version=ea-php56
    Output example:
    --- data: vhosts: - example.com - example.com - example.com - example.com - example.com - example.com - example.com metadata: command: php_get_vhosts_by_version reason: OK result: 1 version: 1
    0
  • hinhthoi
    Thank you, this is informative!
    0
  • cPanelMichael
    Hello, I'm glad to see the previous responses helped. I've marked this thread as solved. Thanks!
    0
  • shanjie
    ignore please
    0

Please sign in to leave a comment.