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 change PHP version for all domains in Plesk for Windows Server

Follow

Comments

4 comments

  • Avatar
    Miguel (Edited )

    For Linux use this

      plesk=/usr/sbin/plesk
    for d in $($plesk bin domain --list)
    do
    $plesk bin domain-u $d -php_handler_id <required_php_handler>
    done

    where <required_php_handler> can be obtained by executing:

      $plesk bin php_handler --list
    1
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Miguel,

    Hello! Thank you, I believe this will be helpful for other Pleskians.

    We also have an article for Linux here: https://support.plesk.com/hc/en-us/articles/213933525

    0
    Comment actions Permalink
  • Avatar
    Sathiya

    i want to execute the script with condition which is already have same php handler. 

    0
    Comment actions Permalink
  • Avatar
    Bulat Tsydenov

    @Sathiya, Hi! 
    Please clarify what exactly do you want to achieve?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request