Which path does cpanel use for the php.ini file on a red hat machine? i have like 8 listed and not sure what one to edit
Which path does cpanel use for the php.ini file on a red hat machine? i have like 8 listed and not sure what one to edit
I believe the output of the PHP function phpinfo() includes the path to the correct php.ini file.
Where the file is depends on how php is installed. And you'll probably find that there really is only one true php.ini, and that the rest are symlinks.
From cmd line:
Code:php -i | grep "php.ini"