The next widely used method is to increase the memory limit or maximize the file upload size. In the directory. You can browse the htaccess file, put it in the file, and then paste the following code. Php_value upload maximum file size = 720m php_valuepost _max_size = 64M php_valuememory _limit = 1024m php_valuemax _execution _time = 180 WP config. This is the easiest way to try using PHP files, and the probability of solving the problem is very low. But it’s worth a try. On the server, WP config. Increase memory by searching PHP files and pasting the following code:
[code language = \
From popular hosting providers to a variety of hosting providers such as GoDaddy, BlueHost and SiteGround, PHP. Let’s see how to increase the maximum size of the uploaded INI file. Godaddy – php. The instruction of filesize upload u#ini. Go Daddy is the user. You can edit the INI file to increase the max_file size limit. After entering cPanel, click user. Browse the INI file or create it directly in the WordPress root directory. user. Paste the following code into the INI file: memory_limit = 1024M max_execution_time = 180 max_input_time = 180 post_max_size = 64M upload_max_filesize = 720M
Expert tip: the max_input_time code is to maximize the time required for each script to parse the requested data. It is recommended to limit this time on the production server to remove scripts that run unexpectedly long. BlueHost – php. Log in to the upload_max_filesize command of ini, open the file manager and select Webroot. Scroll to the right. Displays the INI file. Right click it and select edit code. Search for upload_max_filesize and specify the value required here as 720m and post_max_size as 64M.
Upload max file size = 720m post _max _size = 64M SiteGround – PHP. Ini. Male SiteGround is PHP. Provides two options for editing INI files. One is the PHP variable manager tool, and the other is PHP, as we have seen before. That is, you must edit the INI file manually. This tool is really convenient for beginners. Let’s see how to use the tool to maximize the file upload size. [SiteGround tool image] use the PHP variable manager tool. To edit the INI file, log in to cPanel and browse to the administrator tool. Select the directory where WordPress is installed and click Add. You can find variables and PHP fields in it, which is the code I introduced above. Change the desired values in the appropriate fields and save the changes. To set changes for all subdirectories, select the apply changes to all subdirectories check box. Note: this option applies to cloud and