• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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