Monthly Archives: 六月 2024

Chez Space Upgrade WordPress

The reason why I chose WordPress 3.8.41 is because the space PHP version is 5.2.6 according to the official documentation probably can https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

The highest version upgraded to is 5.1, but there are too many PHP functions disabled in the CHEZ space, I tried 5.1, 4.9, and the least error is 3.8, so be it. Based on the previous system file management tool, FTP is not available here. It is rumored that the native residential IP in France can be FTP.

Upgrade process:

1. Delete all non-administrative php and wp-config.php in the file directory, and delete wp-admin and wp-includes.Create a new sessions folder in the main directory.

2. filebox.php uploading, use filebox to upload the decompressed wordpress-3.8.41 home directory php to the space in batches

3. Use phpzip tool to compress wp-admin and wp-content in .dat.gz format

4. Extract the JS in the wp-includes directory separately, and use the phpzip tool to compress wp-includes

5. Upload the phpzip toolkit unzip.php and compressed .dat.gz to the space directory 6. Run unzip.php decompress wp-admin, wp-content, wp-includes.dat.gz

7. Use filebox to enter the created wp-includes folder to upload unzip.php and separately compressed js.dat.gz

8. Decompress js.dat.gz

9. Spatial address/wp-admin to upgrade data online

Important items: Do not delete the original blog’s wp-config.php Do not delete Do not delete

http://laoyue.chez.com/phpZip.zip

https://github.com/or2me/Filebox

chez.com空间升级WordPress

之所以选择WordPress 3.8.41是因为该空间PHP版本是5.2.6根据官方文档大概可以

https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

升级到的最高版本是5.1,但是CHEZ空间禁用了太多PHP函数,试过5.1,4.9,报错最少的是3.8,就这样吧。基于之前的系统文件管理工具,这里无法使用FTP。传言法国本土住宅IP可以FTP。为什么要如此大劲,因为php上传2MB限制!php函数禁用,无法使用插件wp-downgrade在线升级。

升级流程:
1.删除文件目录下所有非管理的php以及wp-config.php,同时删除wp-admin和wp-includes。主目录新建sessions文件夹。
2.filebox.php上传,使用filebox将解压后的wordpress-3.8.41主目录php批量上传到空间
3.使用phpzip工具将wp-admin和wp-content压缩为.dat.gz格式
4.提取wp-includes目录下的js文件夹,单独使用phpzip工具压缩wp-includes
5.将phpzip工具包unzip.php和压缩后的.dat.gz上传到空间目录
6.运行unzip.php解压wp-admin、wp-content、wp-includes.dat.gz
7.使用filebox进入创建的wp-includes文件夹上传unzip.php和单独压缩的js.dat.gz
8.解压js.dat.gz
9.空间地址/wp-admin在线升级数据
重要事项:动之前备份wp-config.php!!! 不要删除原博客的wp-config.php 不要删除 不要删除

http://laoyue.chez.com/phpZip.zip

https://github.com/or2me/Filebox