
上编文章我们介绍了All-in-One WP Migration插件的基本使用,当然在建站初期,我们需要备份的文件打下一般都在几百M,但是当我们站点不断扩大后,如果要准备站点备份、搬家的时候,可能就是几个G甚至几十G,但是我们会发现,All-in-One WP Migration插件会有个上传512M的限制,下面我会介绍如何解除这个512M的限制。
前期工作:
我们要先把php环境中的上传限制给设置好,我在前面几篇文章中都有介绍,根据你个人需要来调整。这里不设置好,后面是达不到效果的。
解决办法:
1.我们找到插件编辑器,并选择All-in-One WP Migration。

2.打开 Constants.php 文件

3.编辑 Constants.php 文件,点击Ctrl+F 查找 Max File Size这行代码,会发现这行代码出现在282行上下。

我们把 2

4.保存

5.回到导入功能选型,此时已经测试成功了。

注:如果想直接在服务器中进行修改,就到/wordpress/wp-content/plugins/all-in-one-wp-migration/constants.php下进行修改。
Swift 教程 Swift 是一种支持多编程范式和编译式的开源编程语言,苹果于2014年WWDC(苹果开发者大会)发布,用于开发 iOS,OS X 和 watchOS 应用程序。 Swift 结合了 C 和 Objective-C 的优点并且不受 C 兼容性…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...