Why WP-CLI Won't Start on Some Shared Hosts — A Field Investigation Across Four Architectures

TL;DR AI
2 min readKey summary
A diagnostic across four Japanese shared hosts found that WP-CLI startup depends on host-specific setups, not one standard install path.
ConoHa WING uses a user-installed `~/bin/wp`, Xserver provides `/usr/bin/wp`, and Sakura Internet relies on a small wrapper in `/usr/local/bin`.
Heteml was the outlier, with no working WP-CLI path detected.
The report also warns that browser-based uploads can corrupt PHAR files on some hosts, making direct SSH downloads safer.
