I need to make some updates…not sure where or how to begin. Tutorials are pretty confusing.
Increase upload limit beyond 2 MB. Can’t install .zip file, which is 2.5 MB. But Wordpress plugin is asking for 30 MB or more.
Update PHP. Currently running PHP (7.0.32-0ubuntu0.16.04.1)
Set up https. I have three subdomains. Main domain is on a different server.
This is the app’s requirements. https://www.imagely.com/docs/requirements/
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.
Hi @jgwalter, I’ll try and answer the questions in a way the instructions should be followed.
You can’t upgrade your PHP version, you need to install a new one.
To be able to install a certain PHP version, in this case, 7.4 you’ll need to add a certain repository to your system
Update the repository index.
Install PHP 7.4 with the below command.
To install extensions run
The above are the required extensions for a simple WordPRess installation. Having said that it’s good to have these extensions as well.
That’s it, you now have the latest PHP version installed.
If you have Nginx, here is how you can activate it:
To activate PHP 7.4 on the server: Configure the PHP Processor
Find: cgi.fix_pathinfo Remove semi-colon and set 0
Configure Nginx to Use the PHP Processor
You can now test php by using
phpinfo()function or use
php -vcommand into the terminal.
You’ll need to update your php.ini file:
If you are using Apache2:
You need to find and increase two directives -
upload_max_filesizeSet them to whatever you need.
Last words, if you are using Apache2 rather than Nginx, let me know and I’ll provide you steps to activate the latest PHP version on it.
@KFSys Thank you very much. Worked perfectly.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now