How to update PHP version for all domains on Windows

Follow

Comments

2 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
  • 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

Please sign in to leave a comment.

Have more questions? Submit a request