Apache is not loading PHP.ini
apache, php
Solution
check if your ftp user owns the file (it will usually belong to root)
sudo chown ubuntu /etc/php5/apache2/php.ini
sudo chown ubuntu /etc/php5/cli/php.ini
change "ubuntu" for your userName and "/etc/php5/apache2/" for the path indicated in phpInfo()
then restart apache
sudo /etc/init.d/apache2 restart
should do the trick
Problem
Okay this is a beginner problem but I can't seem to find a solution to it. I've ran `<?php phpinfo(); ?>` and confirmed my php.ini path. Restarted Apache server after making changes in php.ini but still Apache is not accepting changes i've made in php.ini. I can't load extensions, change error reporting status, etc. Where else should i look, what else should i do in order to make Apache work with my php.ini? (p.s: PHP works fine so I don't think there is a problem with LoadModule in httpd.conf) Also, this is my phpinfo output: http://jsbin.com/ipilom and this is my php.ini in that path: http://paste2.org/p/2133057