X7ROOT File Manager
Current Path:
/opt/lscwp_patcher
opt
/
lscwp_patcher
/
📁
..
📄
CHANGELOG.md
(1.54 KB)
📄
README.md
(1.11 KB)
📄
VERSION
(4 B)
📄
lscwp_patcher.sh
(16.05 KB)
Editing: README.md
# lscwp_patcher Updates the LiteSpeed Cache WordPress plugin across all sites on a cPanel or Enhance server. Install path: /opt/lscwp_patcher/lscwp_patcher.sh ## Usage # Report only (default) /bin/bash /opt/lscwp_patcher/lscwp_patcher.sh # Single account / single site test /bin/bash /opt/lscwp_patcher/lscwp_patcher.sh --apply --user USERNAME /bin/bash /opt/lscwp_patcher/lscwp_patcher.sh --apply --path /home/USERNAME/public_html # Whole server /bin/bash /opt/lscwp_patcher/lscwp_patcher.sh --apply --jobs 4 # No wp-cli / heavily broken sites: file replacement only /bin/bash /opt/lscwp_patcher/lscwp_patcher.sh --apply --method zip Run `--help` for all options. ## Exit codes 0 = success, 1 = usage/environment error, 2 = one or more sites failed ## Output /var/log/lscwp_patcher/<timestamp>_<pid>/ - run.log summary of every site touched - report.csv path,owner,before,after,status,note - sites/ per-site wp-cli / zip output - backup/ tar.gz of plugin dirs replaced by the zip method Status values: ok, vulnerable (dry-run), updated_wpcli, updated_zip, failed, skipped.
Upload File
Create Folder