Hello
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
The php.ini file should be located in the /etc/php directory, more specifically:
/etc/php/7.0/apache2/
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:
/etc/php/5.6/apache2/
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.