HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/zeusxp5/tour.kamille.us/wp-content/themes/solace/vendor/wp-cli/wp-cli/utils/find-php
#!/usr/bin/env sh

# Special case for *AMP installers, since they normally don't set themselves
# as the default cli php out of the box.
for amp_php in $(cat $(dirname $0)/amp-paths.txt); do
	if [ -x $amp_php ]; then
		echo $amp_php
		exit
	fi
done

which php || which php-cli

if [ $? -eq 0 ]; then
	exit
fi

echo "no PHP binary found" >&2
exit 1