Report this

What is the reason for this report?

Can't Upload a Plugin

Posted on May 22, 2020

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

Please try again."



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 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.