• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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