DirectAdmin php.ini location path in Linux

I always forget the location of the php.ini in DirectAdmin.
So I record down in here.


/usr/local/lib/php.ini
/usr/local/etc/php5/cgi/php.ini
/usr/local/etc/php4/cgi/php.ini
/usr/local/php54/lib/php.ini

You can show by using this command.

/usr/local/bin/php -i | grep 'Loaded Configuration File'

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.