Reputation: 11
I have a theme which needs to be uploaded on WordPress on Microsoft Azure. However, if I try to upload the ZIP file, I get a page saying
Are you sure you want to do this?
Please try again.
With 403 - Forbidden Error code
What is the error? How do I fix it ?
Upvotes: 1
Views: 1807
Reputation: 21
You will have to modify php.ini, i had the same issues but after trying I got it working.
upload_max_filesize = 256M
memory_limit = 128M
post_max_size = 80M
IN FILE WP-CONFIG.PHP
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '256M' );
max_input_vars = 3000;
Upvotes: 2
Reputation: 1308
It sounds like a permission error -- you should check the privileges on wp-content/themes and make sure it is set to 0677. Furthermore, I'm not very familiar with Azure, but you should be able to check the error logs and get a more specific error message with additional details.
Upvotes: 0