What is the difference in the php.ini file in /etc/php/7.0/apache2 and the one in /var/www/html in the WordPress droplet?
I was looking for php.ini to adjust some memory settings for my WordPress droplet when I noticed that there are multiple php.ini files.
I found one in /var/www/html and one in /etc/php/7.0/apache2. I altered the later and things seem to be working, but what is the purpose of having 2 php.ini files and what does each control?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×