Ray2215
Newbie
- May 6, 2018
- 31
- 13
What I'm trying to do is increase the maximum file upload size from WP's default 2M to anything higher.
I've tried:
Editing Default Constraits
Adding php.ini to WP-admin and html public
Killing PHP processes with Godaddy cPanel
Basically the main stuff and can't make any headway. I bet it would work if I could add some code to htaccess, but anytime I make any changes the whole site shuts down with a 500 error??
Here's my code:
Here's the htaccess code:
# END WordPress
# BEGIN Hotlinking
# END Hotlinking
Could it be a plugin or theme related issue?
I've tried:
Editing Default Constraits
Adding php.ini to WP-admin and html public
Killing PHP processes with Godaddy cPanel
Basically the main stuff and can't make any headway. I bet it would work if I could add some code to htaccess, but anytime I make any changes the whole site shuts down with a 500 error??
Here's my code:
Code:
# BEGIN Increase Max Upload Size
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 300
php_value max_input_time 300
# END Increase Max Upload Size
Here's the htaccess code:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN Hotlinking
# END Hotlinking
Could it be a plugin or theme related issue?