I'm using localhost to run a website locally; my problem is that I can't get the correct php.ini to load.
I have set the Directory
and DocumentRoot
fields in /etc/apache2/sites-available/default
, and restarted the apache2 server.
But running phpinfo() in my localhost still tells me I'm loading the ini file at /etc/php5/apache2/php.ini.
Why? How can I change which php.ini file gets loaded?