How To Change WordPress Max Upload Size with PHP (no plugin)
Автор: Tony Teaches Tech
Загружено: 2020-03-03
Просмотров: 3180
Описание:
Learn how to change the max upload size in WordPress without a plugin. Instead, we can modify the php.ini file directly to increase the upload limit.
In my case, I'm using the All-in-One WP Migration plugin which requires me to upload a file that's larger than the limit fo 16MB. In the video, I show you how to increase the PHP max upload limit to 1GB, but you can pretty much change it to any size you want.
Specifically in the php.ini file, we change the following variables:
upload_max_filesize
post_max_size
For most, this configuration files is located at /etc/php/7.2/apache2/php.ini where 7.2 is the version of your PHP
This fix also solves the WordPress error: "The uploaded file exceeds the upload_max_filesize directive in php.ini"
Code snippets and full tutorial 👉 https://tonyteaches.tech/wordpress-ma...
Check out my vlog channel @TonyFlorida
#wordpress #php #ssh
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: