在Microsoft Azure上上载Wordpress上的主题

时间:2015-07-08 08:10:14

标签: wordpress azure

我有一个主题,需要在Microsoft Azure上的WordPress上传。但是,如果我尝试上传ZIP文件,我会看到一个页面

Are you sure you want to do this?

Please try again.

使用403 - 禁止错误代码

错误是什么?我该如何解决?

2 个答案:

答案 0 :(得分:2)

你将不得不修改php.ini,我遇到了同样的问题但是在尝试之后我才开始工作。

php ini

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

WP内存限制

IN FILE WP-CONFIG.PHP

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

PHP Max输入变量:

max_input_vars = 3000;

答案 1 :(得分:0)

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.