• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Globally Enable PHP

MarkM

Golden Pleskian
Plesk Guru
Hello,

Is there a way to globally enable PHP as an Apache module for all domains?

Best regards,

Mark
 
Last edited:
You can use script something like:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_type=module; done
More details in

# /usr/local/psa/bin/domain --help
 
Back
Top