Maybe i deleted because i can't find it! Wordpress still working

March 3, 2017 131 views
Apache PHP Ubuntu

Maybe i deleted for error php.ini, but apache, phpmyadmin and all my website still working, but i can't find php.ini in my droplet also with locate command.

How i can restore it, i need set file upload limit max
thank you

1 Answer


The php.ini file should be located in the /etc/php directory, more specifically:


If you're not using PHP 7.x, then look in /etc/php and find the version you are using and replace the 7.0 in the path above with the version you're using.

i.e. - if you're using 5.6, then your path may look something like:

Have another answer? Share your knowledge.