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

Please try again.”

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.

×
1 answer

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:

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

  • sudo systemctl restart apache2

Let me know how it goes!
Regards,
Bobby

Submit an Answer