• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Where is Plesk Panel's PHP binary?

gbotica

Regular Pleskian
Hi,

Does Plesk's own server, "sw-cp-server" use a different PHP binary than is used for hosted sites?

If so, where is it?

I've found the .ini, /usr/local/psa/admin/conf/, but I can't figure out where the binary would be?

I'm trying to run some WP-CLI commands, but some functions I have disabled in the default PHP.ini are required by WP-CLI.

Thanks.
 
It is /usr/bin/sw-engine. But note, that it would be better to use user's php for wp-cli because consequences are unpredictable in case of using admin's php. Also you can use separate php.ini for wp-cli Something like

# /usr/bin/php5 -c xxx.ini wp-cli.php
 
Back
Top