查询威联通NAS通过APP CENTER安装的WordPress

2023-12-31  本文已影响0人  BohanL
Applicable Products:

After QTS 5.0, WordPress runs and depends upon Container Station and the configuration files of WordPress are no longer visible in Web folder. The configuration files are moved to a system folder, you can locate the folder path of WordPress files and access the files as follows.

  1. SSH access the NAS
  2. Use the command echo "getcfg WordPress Install_Path -f /etc/config/qpkg.conf/data/web/WordPress" to get the folder path.
    (For example: the configuration files are located in /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress)
  3. Access the files using WinSCP through the folder path.

Furthermore, you can manually map WordPress folder in Shared Folder setting then edit/upload those files using File Station:

  1. Log in to QTS as an administrator

  2. Go to Control Panel > Privilege > Shared Folders

  3. Select Create > Shared Folder.

    1. Choose Disk Volume (for example: DataVol1 )
    2. Select Enter path manually
    3. Click the dropdown menu and locate WordPress folder (for example: /.qpkg/WordPress/data/web/WordPress )
    4. Enter the Folder Name.(for example: WordPress)
    5. Select “Create”.
getcfg WordPress Install_Path -f /etc/config/qpkg.conf
cd /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress
sudo vi .htaccess
自己学下VI怎么用,文件末尾插入如下设置
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 2560M
php_value max_execution_time 3000
php_value max_input_time 3000
上一篇 下一篇

猜你喜欢

热点阅读