How to apply new PHP handler to multiple domains via CLI




  • Avatar
    Jan Schumacher -

    or just switch the vendor fastcgi to newer handler on centos for all domains

    /usr/local/psa/bin/php_handler --replace -old-id fastcgi -new-id plesk-php71-fastcgi


  • Avatar
    Lev Iurev

    @Jan Thats correct, it will change php handler for all domains that used this old php handler.  But not for all domains on the server.

  • Avatar

    This method triggers an httpd restart for each domain. Is there a way to do it without restarting httpd for each domain?

  • Avatar
    Ivan Postnikov

    @Oxilion, currently this is the only method for changing handler to multiple/all domains.

    To minimize effect from downtime, consider applying this instruction during maintenance time frame.

Please sign in to leave a comment.

Have more questions? Submit a request