If you're having trouble uploading large files to WordPress or any other application, you can easily increase the file size limit using the .htaccess file.


Steps to Increase File Upload Size

Step 1:
Log in to your cPanel account.

Step 2:
Open File Manager from the cPanel dashboard.

Step 3:
Navigate to your website’s document root (usually /public_html/) and locate the .htaccess file.
Right-click on the file and choose “Edit”.

Step 4:
Add the following lines to the file, adjusting the values as needed:

php_value upload_max_filesize 512M php_value post_max_size 512M php_value max_execution_time 300 php_value max_input_time 300

Step 5:
Save the .htaccess file.


That’s it! Your site can now handle larger file uploads based on the new limits you’ve set.

⚠️ Note: If you're on a shared hosting plan and these changes don't take effect, contact Bytesis Ltd. support to confirm if PHP settings can be modified via .htaccess.

Was dit antwoord nuttig? 0 gebruikers vonden dit artikel nuttig (0 Stemmen)