I know this gets asked a lot here but I've done my homework and cant seem to solve my particular problem. It doesn't seem like my php.ini file is being loaded, even though php -i and php --ini say it is.
Specs:
CentOS 7.2
PHP 5.6.24
Apache 2.4.6
$ php -i | grep "Loaded Configuration" Loaded Configuration File => /etc/php.ini $ php --ini | grep "Loaded Configuration" Loaded Configuration File: /etc/php.ini
/etc/php.ini exists and has no obvious problems but phpinfo() shows;
Configuration File (php.ini) Path /etc Loaded Configuration File (none) Scan this dir for additional .ini files /etc/php.d
So my question is why is the phpinfo page showing no loaded config file, and how to I resolve the problem?
My log files for httpd do not show any errors when restarting httpd either.
Thanks in advance.
php.ini
file locations. What does<?php phpinfo(); ?>
accessed via the webserver show as thephp.ini
location?