[ad_1]
I’m trying to upload a plugin. (WP Encryption) I’m using this video as a guide. [https://www.youtube.com/watch?v=kfDZDijL-Wg]) But I’m getting this error…
> The uploaded file exceeds the upload\_max\_filesize directive in php.ini.
The .zip file in question reads 2,666k in size. So I’ve edited my /etc/php/8.1/cli/php.ini file to read…
>post\_max\_size = 128M
>
>upload\_max\_filesize = 64M
..and rebooted the machine. (Ubuntu 22.04.2 LTS hosted in Azure) but I’m still getting the error. Am I missing something? How do I configure the server to upload this plugin?
[ad_2]
In WordPress go to Tools > Site Health and click the server tab. Check what version of php your site is using and where the php.ini file is located.
Alternatively/as a workaround, you could upload the zip file to /wp-content/plugins and extract it using ssh or a control panel file manager.