By Stew
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!
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/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.