Updating php.ini

I updated my php.ini and restarted apache. The changes I made don’t seem to be working. Is there anything else I need to do to make the changes to my php.ini file take effect?

(sorry if this is a dumb question, I am just learning)

Which php.ini did you edit? You should be editing /etc/php.ini, and not /home/interworx/etc/php.ini.



I edited the memory limit to 16mb instead of the default 8. When I run phpinfo, it is still showing 8mb, yet the ini file is showing 16 where I had changed it.

Never mind. It is fixed. For some reason when I upload the new php.ini, the file size kept showing up as twice the size. I finally deleted the php.ini file and reuploaded and it worked.