moostende
Verified User
Hi,
Where can I find the php.ini for use during the Command Line Interface? In an out-of-the-box Ubuntu installation with multiple PHP versions it is found under /etc/php/7.4/cli/php.ini. However i can't find any in the DA installation:
# locate php.ini
/usr/local/php56/lib/php.ini
/usr/local/php71/lib/php.ini
/usr/local/php74/lib/php.ini
/usr/local/php81/lib/php.ini
The default PHP CLI uses version 8.1 however I start my CLI script with the specific version in it:
/usr/local/php74/bin/php /home/client/public_html/script.php
Where can I find the php.ini for use during the Command Line Interface? In an out-of-the-box Ubuntu installation with multiple PHP versions it is found under /etc/php/7.4/cli/php.ini. However i can't find any in the DA installation:
# locate php.ini
/usr/local/php56/lib/php.ini
/usr/local/php71/lib/php.ini
/usr/local/php74/lib/php.ini
/usr/local/php81/lib/php.ini
The default PHP CLI uses version 8.1 however I start my CLI script with the specific version in it:
/usr/local/php74/bin/php /home/client/public_html/script.php