Question

Can't Upload a Plugin

Was trying to upload a plugin and this is the message I get "The link you followed has expired.

Please try again."


Submit an answer

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!

Sign In or Sign Up to Answer

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.

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.

Hi there @robertWhale,

I believe that you need to adjust your PHP values as the file that you are trying to upload might be larger than allowed.

To do that what you need to do is, first find which php.ini file is used by your website. One of the ways to do that is to create a PHP info file. To do that, just create a file called info.php for example with the following content:

<?php

phpinfo();

?>

Then visit that file via your browser: yourdomain.com/info.php, and look for the php.ini value.

Usually, on Ubuntu, the default location for Apache is at:

/etc/php/7.2/apache2/php.ini

Edit that file with your favorite text editor:

  1. sudo nano /etc/php/7.2/apache2/php.ini

And increase the following values:

upload_max_filesize 128M
post_max_size 128M
max_execution_time 120
max_input_time 120

Then save the file and restart Apache:

  1. sudo systemctl restart apache2

Let me know how it goes! Regards, Bobby