How to increase file upload size | memory limit | execution time in WordPress?

Опубликовано: 12 Октябрь 2024
на канале: Expert Azi
2,686
27

How to increase file upload size | memory limit | execution time in WordPress?

The uploaded file exceeds the upload_max_filesize directive in php.ini.


1. php.ini codes
===============
upload_max_filesize = 256M
post_max_size = 256M
memory_limit = 256M
file_uploads = On
upload_max_filesize = 128M
max_execution_time = 300
max_allowed_packet_size = 524288000

2. .htaccess codes
===================
php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value memory_limit 256M

3. wp-config.php code
=====================
define( 'WP_MEMORY_LIMIT', '128M' );



Join Canva : https://bit.ly/2ZHYnNq

Buy Domain and Hosting : http://bit.ly/2psilwc
Get Free Domain and Hosting : https://bit.ly/freedomainsss


Thanks For Watching This Video.

____________/Our Free \____________
Don't Click Here :➜ https://bit.ly/DonotClickHeree


____________/Tools\____________
Elementor : https://bit.ly/elementorProfree
Buy Domain and Hosting : http://bit.ly/2psilwc


_____________/Connect With Me On Social Media\____________
► Instagram:➜   / mdazizuldotcom  
► Facebook:➜   / mdazizuldotcom  
► Twitter:➜   / mdazizuldotcom  
Website:➜ https://www.mdazizul.com
=========================================
For Business Queries:- [email protected]


✔️DISCLAIMER: This Channel DOES NOT Promote or encourage Any illegal activities , all contents provided by This Channel is meant for EDUCATIONAL