• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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