Prateek Narendra
Prateek Narendra

Reputation: 11

Uploading theme on Wordpress on Microsoft Azure

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

Answers (2)

kevin lopez
kevin lopez

Reputation: 21

You will have to modify php.ini, i had the same issues but after trying I got it working.

php ini

upload_max_filesize = 256M memory_limit = 128M post_max_size = 80M

WP Memory Limit

IN FILE WP-CONFIG.PHP

define( 'WP_MAX_MEMORY_LIMIT', '256M' ); define( 'WP_MEMORY_LIMIT', '256M' );

PHP Max Input Vars:

max_input_vars = 3000;

Upvotes: 2

Ceili
Ceili

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

Related Questions