Starting on October 19, 2021, we will enable single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
To be prepared for this change and to avoid the need to register during your next ticket submission after the change, we encourage you to create an account here before October 19 using the same email address as your current Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account. You will continue to use ZenDesk authentication until we switch over to single-sign-on on October 19th.

How to get a list of all domains from which are using a specific PHP handler in Plesk via command line?

Follow

Comments

3 comments

  • Avatar
    Brian Craigie

    Number 5 is great, but could be improved by excluding domains that are currently disabled and also to exclude those that are aliases. :-)

    1
    Comment actions Permalink
  • Avatar
    Brian Craigie

    Number 5 can be improved thus:

    plesk db "select domains.name, dom_id, php, php_handler_id, fastcgi, WebServerSettingsParameters.value as 'Served as nginx?' from hosting JOIN domains on domains.id=hosting.dom_id JOIN WebServerSettingsParameters on WebServerSettingsParameters.webServerSettingsId=(select val from dom_param WHERE param='webServerSettingsId' AND dom_id=domains.id) where WebServerSettingsParameters.name='nginxServePhp' AND domains.status=0"

    1
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Brian

    Thank you for the notice!

    I will pass it to the article author.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request