What is real path of cpanel's php executible?

View QuestionsCategory: QuestionsWhat is real path of cpanel's php executible?
admin Staff asked 4 years ago
1 Answers
admin Staff answered 4 years ago

In general, it is
/opt/cpanel/ea-php##/root/usr/bin/php

php 7.2:
/opt/cpanel/ea-php72/root/usr/bin/php

To find what version of php you are using:
php -v
/opt/cpanel/ea-php72/root/usr/bin/php -v

Find ini settings:
/opt/cpanel/ea-php72/root/usr/bin/php -i | grep memory_limit