中文

Urgent Security Alert: APT Vulnerability CVE-2026-109518 (CVSS 7.7 / High)

This vulnerability affects APT versions in some Debian, Ubuntu, and derivative distributions. If an attacker can manipulate HTTP traffic between an APT client and its archive server, and a download follows redirects and retries, APT may be tricked into installing an unverified package and executing attacker-controlled code as root.

Immediately apply the complete upgrade from your distribution's security repository (run as root):

apt-get update && apt-get full-upgrade -y

Run apt --version afterward and confirm that APT reports 3.0.4 or the equivalent fixed package supplied by your distribution. No system reboot is required after updating APT. See the Debian security advisory and Ubuntu security notice.

Lightweight · Stable · Reproducible WNMP One‑Click Stack

Let's Encrypt IP certificate protection is now supported by default.

Install Nginx, PHP, and MariaDB (bundled with the Mroonga search engine) with a single command. Kernel/network tuning, WebDAV, and certificate configuration are automated. A ready‑to‑run production base for small/medium sites, edge nodes, and on‑prem projects.

Window11(WSL) Debian 13 Debian 12 Ubuntu 22.xx Ubuntu 24.xx Ubuntu 25.xx
Nginx 1.31.x PHP 8.2–8.5 MariaDB 10.11 / 11.4 / 11.8 / 12.3 BBR / FQ · THP Off acme.sh One‑Click SSL WebDAV Drive No FTP SSH Key Login IP SSL Certificates WSL DEV SSL Certificate
Install
cd /root && apt update && apt install -y curl curl -fL https://wnmp.org/wnmp.sh -o wnmp.sh chmod +x wnmp.sh bash wnmp.sh
cd /root && apt update && apt install -y curl curl -fL https://raw.githubusercontent.com/lowphpcom/wnmp/main/wnmp.sh -o wnmp.sh chmod +x wnmp.sh bash wnmp.sh

Script open-source license: GPLv3. Please execute commands using the root account on a completely clean system.

v1.70 2026-11-06 Added SSL menu option 7 and wnmp ssl force-ip [IPv4] to issue or force reissue IP certificates, including recovery after a failed first request without an existing certificate. Initial Nginx installation and IP reissuance now prefer public IPv4 addresses on local interfaces, then query external IP APIs while bypassing proxies, and prompt for a public IPv4 address if detection fails. Detected addresses can be overridden; command arguments or WNMP_PUBLIC_IP support an explicitly configured NAT address. Invalid, private and reserved addresses are rejected instead of requesting a certificate for unknown. Issuance explicitly uses ECC and the Let's Encrypt shortlived profile. Successful recovery verifies certificate validity, IP coverage and key matching, enables HTTPS on the default Nginx site, records the active IP and installs daily renewal. Failed issuance, deployment or Nginx configuration checks restore the previous files and attempt to restore the running service; failed Nginx startup also attempts rollback. Daily renewal can recover missing IP certificates and skips inactive IP records. Certificate checks, daily renewal and IP reissuance automatically clean up the exact invalid unknown_ecc and unknown ACME records, reporting removals. NAT servers still require public TCP port 80 to reach this server. Domain certificate issuance remains unchanged. English and Chinese scripts, documentation, local website pages and release metadata are synchronized.

v1.69 2026-10-23 Added MariaDB upgrade/downgrade to component updates in menu 11 (wnmp update mariadb). Fresh installations and updates now share MariaDB series 10.11, 11.4, 11.8 and 12.3, with default complete versions 10.11.19, 11.4.13, 11.8.9 and 12.3.3. MariaDB series outside Mroonga compatibility, incomplete or mismatched versions and invalid source archives are rejected; MariaDB 12.3 requires Mroonga 16.12 or later, and cached Mroonga archives are checked. Updates use existing local administrative credentials without prompting for a root password, compile and verify the target version before stopping the database, and retain full SQL, program, configuration and stopped-server data backups under /home/wnmp-backups/mariadb/. Application databases, routines, events, triggers, accounts, roles and grants are restored automatically into newly initialized system tables while database access is paused; failed updates attempt to restore the previous version. Custom system metadata such as time zone tables, replication settings and third-party plugins/UDFs requires separate migration; Mroonga is rebuilt automatically. Added root password changes in menu 20 (wnmp mysqlpass) with hidden input, confirmation and preserved local socket authentication; fresh installations still require a root password. English and Chinese scripts and documentation are synchronized.

v1.68 2026-10-22 Updated the default Nginx version to 1.31.8 for new installations and wnmp update nginx. Completed PHP security configuration for new installations and after restoring a backed-up php.ini: memory_limit = -1, post_max_size = 32M, and an individual upload limit of 16M while preserving smaller limits. Only PHP 8.5 receives fatal_error_backtraces = 0. Existing session settings and unrelated customizations are preserved; missing session.upload_progress.enabled = 0 and session.use_strict_mode = 1 directives are added idempotently. PHP-FPM enforces the memory and POST limits and the PHP 8.5 backtrace setting, and component updates verify worker restart. Generated Nginx default, HTTP/HTTPS site, and reverse-proxy configurations use client_max_body_size 32M. Deprecated session ID tuning and E_STRICT defaults were removed from new PHP templates. These measures supplement upgrading to patched PHP releases.

v1.67 2026-10-21 Updated PHP versions to 8.5.12, 8.4.27, 8.3.36, and 8.2.35. These PHP security releases fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately.

v1.66 2026-10-14 nginx-1.31.7 mainline versions have been released, with fixes for buffer overflow vulnerability when using alias with rewrite (CVE-2026-15176), buffer overflow vulnerability when evaluating string expressions with variables (CVE-2026-93479), request body injection vulnerability in HTTP/3 (CVE-2026-95101), session forgery vulnerability when using TLS session ticket key rotation (CVE-2026-97629), and use-after-free vulnerability when using ngx_http_ssi_module with AIO (CVE-2026-97205).

v1.65 2026-10-01 Fixed an Nginx configuration test failure when enabling a public directory because the main configuration lacked the $dl_site_root map. New installations now include the map in both LAN and public Nginx templates, while existing installations add it automatically and idempotently when public directory mode is enabled.

v1.64 2026-09-27 Updated PHP versions to 8.5.11,8.4.26,8.3.35,8.2.34.

v1.63 2026-09-22 Added a Time Management menu with system time synchronization and timezone settings. Time sync installs and enables systemd-timesyncd, then enables NTP; timezone settings default to UTC and accept custom IANA timezone values.

v1.62 2026-09-21 Hardened PHP and Nginx component upgrades. The requested source archive is now checked for HTTP 200, fully downloaded, and validated as a readable tar.gz before any PHP purge or Nginx update workspace cleanup begins. Invalid versions such as PHP 8.5 now stop with a clear error and preserve the installed component. Download, extraction, configuration, compilation, installation, and post-install checks now return errors instead of reporting a false success.

v1.61 2026-09-18 Updated the generated Nginx block.conf security rules. The default rules now consistently block malformed double-slash requests, sensitive files and directories, backup and database artifacts, PHPUnit and storage paths, webshell entry points, directory traversal, and encoded traversal attempts, while disabling access logs for blocked requests.

WNMP:

1、Windows11(WSL)+Nginx+Mariadb+PHP

(Deployed in a Linux subsystem running on Windows 11 - WSL, **not** an .exe environment package)

2、(Linux)WebDav+Nginx+Mariadb+PHP

Core Features

Ready‑to‑Use Web Runtime

Compiles Nginx 1.29.5 (dav‑ext / http2 / stream modules), optional PHP 8.2–8.5 and MariaDB 10.11 / 11.4 / 11.8 / 12.3, with sensible defaults.

Kernel / Network Tuning

Enables BBR/FQ, reasonable somaxconn and file descriptors, disables THP; writes sysctl and limits automatically with safe downgrades for WSL.

Certificate Automation

Integrated acme.sh. Prefers Cloudflare DNS‑01; automatically falls back to webroot; installs certs and reloads Nginx.

Multi‑Site & WebDAV

One‑click vhost creation, built‑in phpMyAdmin protection, WebDAV account management; supports separate password files per domain.

Maintainable Structure

Unified, straightforward directories:

/usr/local/nginx /usr/local/php /home/wwwroot

Secure Defaults

Blocks hidden paths and dangerous extensions; sensible timeouts and cache; turns off unnecessary PHP options by default.

Common Commands - Download and run bash wnmp.sh. The following commands can be executed from any directory.

Interactive Menu / Install

wnmp # Show interactive menu wnmp install # Start full installation

Check Status

wnmp status

SSH Key Login

wnmp sshkey

Add WebDAV Account

wnmp webdav

Create Virtual Host (with SSL)

wnmp vhost

Kernel/Network Tuning Only

wnmp tool

Verification command: ulimit -n && ulimit -u && sysctl --system

Restart Services

wnmp restart

One‑Click Cleanup

wnmp remove # clean everything wnmp renginx # clean Nginx only wnmp rephp # clean PHP only wnmp remariadb # clean MariaDB only

Upgrade or Downgrade

wnmp update # Update WNMP script itself wnmp update force # Force reinstall WNMP script wnmp update nginx # Upgrade or downgrade nginx wnmp update php # Upgrade or downgrade php wnmp update mariadb # Upgrade or downgrade MariaDB with full backup and automatic restore

Menu 11 includes MariaDB updates. Updates use existing local administrative credentials without a root password prompt. Backups are retained in /home/wnmp-backups/mariadb/; database access is paused during restoration. Fresh installations still require a root password.

Change MariaDB root Password

wnmp mysqlpass

Also available in menu 20. Enter and confirm the new password with hidden input; local socket authentication is preserved.

fail2ban

wnmp fail2ban

SSL Renewal

wnmp sslcheck # Install Renewal Script wnmp ssltest # Days remaining until expiration

Footer Badge (Optional)

Place the following HTML into your website footer:

<small>This server is built by the <a href="https://wnmp.org" target="_blank" rel="noopener">wnmp.org</a> one‑click installer</small>

Frequently Asked Questions

Is it open source? Can I use it in commercial projects?

The script is released under GPLv3. Commercial use and redistribution are allowed, but derivative works must remain open under the same license. Please follow the licenses of third‑party dependencies.

Which systems are supported?

Primarily aimed at Debian 12/13 and Debian‑like systems. Verified on Windows11(WSL), (Linux)Debian 13, Debian 12, Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 25.10. WSL (Debian recommended) receives safe downgrades.

For production, Debian13 is recommended. WNMP does not plan to support non‑Debian‑like distributions or EOL Debian variants.

Does offline deployment and installation work?

Starting from v1.20, all software packages are downloaded into the /root/sourcewnmp directory. During reinstallation or upgrade, if the required compressed packages already exist, they will be detected and extracted directly without re-downloading.

However, fully offline installation is not possible. Components such as acme, MariaDB, PIE, and PECL still require an active network connection to be deployed. Therefore, v1.20 mainly addresses scenarios with slow or unstable networks, allowing users to manually download Nginx, PHP, and MariaDB source packages in advance and place them into the /root/sourcewnmp directory.

Below are the official download URLs for the required software. If your network connection is too slow, you can manually download these files and save them into /root/sourcewnmp:

https://nginx.org/download/nginx-1.31.8.tar.gz

https://www.php.net/distributions/php-8.5.12.tar.gz

https://www.php.net/distributions/php-8.4.27.tar.gz

https://www.php.net/distributions/php-8.3.36.tar.gz

https://www.php.net/distributions/php-8.2.35.tar.gz

https://github.com/php/pie/releases/latest/download/pie.phar

https://github.com/swoole/swoole-src/archive/master.tar.gz (Swoole 6.2-dev for PHP 8.5 save as: swoole.tar.gz)

https://github.com/swoole/swoole-src/archive/refs/tags/v6.1.4.tar.gz (Swoole 6.1.4 for PHP 8.2–8.4 save as: swoole.tar.gz)

https://archive.mariadb.org/mariadb-10.11.19/source/mariadb-10.11.19.tar.gz

https://archive.mariadb.org/mariadb-11.4.13/source/mariadb-11.4.13.tar.gz

https://archive.mariadb.org/mariadb-11.8.9/source/mariadb-11.8.9.tar.gz

https://archive.mariadb.org/mariadb-12.3.3/source/mariadb-12.3.3.tar.gz

https://packages.groonga.org/source/groonga/groonga-latest.tar.gz (save as: groonga.tar.gz)

https://packages.groonga.org/source/mroonga/mroonga-latest.tar.gz (save as: mroonga.tar.gz)

https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip (save as: phpmyadmin.zip)

How do I install and use WNMP on Windows?

Confirm you are using the Windows 11 operating system. First, you need to install the WSL subsystem.

Press Win+R to open the Run dialog box, then type cmd. Press Shift+Ctrl+Enter to enter the Administrator mode console.

wsl -l -o # Check if the remote system list can be read. If it reads normally, WSL is functioning correctly.

wsl --install debian # or wsl --install debian --web-download (Begin installing the Debian 13 subsystem. The first time you run this command, you may be prompted to restart your computer or notified that CPU virtualization support is disabled. Follow the on-screen instructions accordingly.)

After a normal installation, you will be prompted to configure a standard account and password. Once configured successfully, simply type: exit to exit the subsystem.

wsl -d debian -u root # Log in to the Debian system as the root user.

cd /root && apt update && apt install -y curl curl -fL https://wnmp.org/wnmp.sh -o wnmp.sh chmod +x wnmp.sh bash wnmp.sh

cd /root && apt update && apt install -y curl curl -fL https://raw.githubusercontent.com/lowphpcom/wnmp/main/wnmp.sh -o wnmp.sh chmod +x wnmp.sh bash wnmp.sh

Press Win + R to open the Run window, enter shell:startup and press Enter to enter the startup directory

Create a new wsl.vbs file and write the following content:

Set ws = CreateObject("Wscript.Shell") ws.run "wsl -d debian", 0 ' (ws.run "wsl -d ubuntu", 0)

After initialization completes, the subsystem has installed the SSH server. Restart your computer as prompted, and you can then log in to your WSL Debian subsystem using an SSH client just like a regular server VPS.

Login address: 127.0.0.1 Port: 22

Additional WSL commands: In the Windows CMD environment, non-subsystem shell console

wsl -l -v # View list of installed systems

wsl --shutdown # Stop Subsystem

wsl --unregister debian # Uninstall Subsystem

If you need to access the subsystem via a local area network, open C:\Users\[username] # Please replace with your actual Windows login username.[username]

Create a new .wslconfig file and write the following content:

[wsl2] networkingMode=Mirrored dnsTunneling=true firewall=true autoProxy=true [experimental] hostAddressLoopback=true

Run the following command in an administrator PowerShell window to configure Hyper-V firewall settings to allow inbound connections:

Set-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow

Restart your computer again. You can now log into the subsystem using the same LAN IP address as your local Windows system. Enter `ipconfig` in the Command Prompt to view your local LAN IP address.

After restarting the computer, use an SSH client tool to access the subsystem and directly execute wnmp to begin deploying the web environment.

Clarifying misconceptions about poor WSL performance

WNMP recommends native Linux for production. When running on Windows, use WSL 2 and keep website source code and database files inside its Linux filesystem.Choosing the right runtime and storage location is more useful than judging performance by the labels “Windows” or “virtual machine.”

1. Why prefer Linux?Linux is a mainstream platform for web servers, with mature deployment, extension, and maintenance practices for Nginx, PHP, MariaDB, and the Mroonga full-text search engine provided by WNMP. Windows support differs between components; offering Windows executables does not imply identical features or concurrency capabilities. For example, Nginx explicitly describes its Windows version as beta and says that high performance and scalability should not be expected. WNMP therefore prefers native Linux for high concurrency and direct system tuning. Measure actual performance against your workload.

2. Windows Server and licensing costs.Here, “Windows server” means a server running a Windows Server edition. Compared with Linux, Windows Server generally adds commercial licensing costs, which a cloud provider may include in its instance pricing. Use a valid license: unauthorized use may breach Microsoft’s license terms and the provider’s policies, with possible service suspension depending on the provider. Enabling WSL does not remove the Windows licensing requirement.

3. File location is critical to WSL 2 performance.WSL 2 uses Hyper-V virtualization to run a real Linux kernel in a lightweight virtual machine. File access between Windows and Linux is convenient for interoperability, but accessing Windows drives through /mnt/c or /mnt/d crosses filesystem boundaries. Frequent source-code, small-file, or database operations can make this a bottleneck. Such results alone do not establish that WSL 2 is unsuitable for high concurrency.

Deploy sites inside the WSL 2 Linux filesystem, such as WNMP’s default /home/wwwroot, and keep database data in a Linux directory as well.A Windows mount such as /mnt/d/your-site should not be the default storage choice when optimizing performance. Even if the WSL 2 virtual disk file is physically stored on the Windows D: drive, accessing the Linux filesystem inside that disk is different from accessing Windows files through /mnt/d. Microsoft also recommends keeping project files in the Linux filesystem when using Linux tools for better performance.

4. Use SSH to manage WSL like a Linux server.After completing WNMP’s WSL initialization and SSH setup in the preceding installation guide, connect with an SSH client to deploy source code, install components, and manage services inside Linux, just as you would on a remote Linux server. SSH provides the management connection; WSL 2 provides the Linux runtime, and storage location affects filesystem performance. Enabling SSH does not itself improve disk performance.

5. Check version requirements and maintain updates.Availability of WSL does not mean every Windows version supports the same features. Some Windows 10 versions support WSL 2; Windows Server 2019 provides WSL 1 and does not support WSL 2. Prefer a Windows 11 release that is still supported, or an updated Windows Server 2022 / 2025 system with WSL 2 support. Hardware virtualization must be available; if Windows itself runs in a cloud instance or virtual machine, the platform must also support nested virtualization. See Microsoft’s Windows Server installation guide for the requirements.

Maintain security updates for Windows, WSL, the Linux distribution, and the installed components. Avoid stripped-down systems that disable required components or indefinitely block security updates. WSL itself continues to receive improvements and can be updated with wsl --update. Validate production upgrades during a planned maintenance window.

6. How do local, LAN, and public access work?With the service running, the correct listening address, no conflicting port, and working localhost forwarding, Windows applications can usually reach WSL services at 127.0.0.1:service-port, such as 127.0.0.1:22 for SSH. This forwards access to individual service ports; enabling WSL does not redirect the entire 127.0.0.1 address to Linux.

LAN access depends on the network mode. WSL 2’s default NAT mode generally requires port forwarding. On Windows 11 22H2 or later with mirrored networking support, configure mirrored mode as described in the preceding guide and allow the required inbound ports through the Windows / Hyper-V firewalls. Services can then be reached through the Windows host’s LAN IP address, provided they listen on an address that accepts external connections.

Public access can use the public IP through which the Windows host serves traffic, but the complete path to the WSL service must be configured, including cloud security groups, host firewalls, and router port mappings or NAT forwarding where applicable. Enabling WSL does not automatically expose services to the internet.See Microsoft’s WSL networking documentation for differences between versions and network modes.

What does CJK mean?CJK stands for Chinese, Japanese, and Korean. Mroonga, provided by WNMP, is a Groonga-based full-text search storage engine that supports full-text search in these languages.

Why doesn’t WNMP provide a control panel?

Because the most secure server is the one without a control panel.

GUI-based panel software (such as BT Panel) makes server management easier, but it also brings:

🔓 Extra open ports (e.g., 8888) that expand the attack surface;

⚠️ Retaining SSH password login, which increases brute-force attack risks;

🧩 Long-running panel daemons that may be exploited or escalated;

🔄 Auto-update and plugin systems that reduce auditability.

WNMP follows a completely different philosophy:

✅ SSH key-only login by default (the most secure authentication method);

✅ No web panel ports — after deployment, almost zero persistent processes;

✅ Fully transparent configuration — scriptable, versionable, and auditable;

✅ Focus on host-level performance and security baseline, not GUI convenience.

WNMP’s goal is not to “replace BT Panel,” but to provide a clean, engineer-oriented environment template — the command line itself is the control panel, where security and control always come first.

Panels are for beginners; WNMP is for engineers.

Why not adapt to Docker?

WNMP does not simply “package Nginx + PHP + MariaDB into a container.” Instead, it enables one-click host-level performance tuning and security baseline configuration (kernel network parameters, ulimit restrictions, SSH key setup, compilation optimizations, etc.) within a clean system environment.

These host-level capabilities are often uncontrollable within containers or require high privileges like --privileged, which undermines the original intent of container isolation.

Therefore, WNMP is recommended for use within KVM virtual machines, cloud servers, or KVM virtual systems running on Proxmox (PVE) to fully leverage its performance tuning and system optimization advantages.

What is the minimum hardware requirement?

Without MariaDB: minimum 512 MB RAM on Debian (the OS itself uses ~200 MB). On Ubuntu, minimum 768 MB RAM (the OS uses ~500 MB).

With MariaDB installed: at least 1 GB RAM is required for a proper installation.

Which PHP versions are supported?

Only PHP 8.2 – 8.5 are supported.

WNMP intentionally does not support EOL legacy versions.

Why must my site directory use the www:www user and group?

NGINX and PHP-FPM run as the www:www user and group. If a site directory is owned by another user or group, PHP execution, cache, uploads, or other site operations may fail.

After creating or moving a site, replace your-site with the actual directory name and run:

chown -R www:www /home/wwwroot/your-site

Confirm that the path is correct before running the command. The ownership change must be applied for the site to run normally.

How do I install PHP extensions myself?

pie install xxx

pie extensions can be found at:https://packagist.org/extensions

After installation, edit /usr/local/php/php.ini and add extension=xxx.so.

Verify with php -m.

Run wnmp restart or systemctl restart php-fpm to reload PHP‑FPM and enable the extension.

Where are the download sources for Nginx, PHP, MariaDB, phpMyAdmin?

WNMP uses official download sources only. No third‑party mirrors are used.

If your download speed is extremely slow, try switching to a different system update source or install via proxy. For security reasons, always use the official download source!

Why compile Nginx/PHP/MariaDB instead of using binaries or apt?

Upstream releases appear first on official websites/GitHub, while Debian/Ubuntu repos may lag. Compiling also allows optional modules.

For example, WebDAV requires nginx-dav-ext-module.

As another example, Swoole supports PHP 8.5 on GitHub already, while some package repos lag; with WNMP you can use Swoole on PHP 8.5 immediately.

Which PHP extensions does WNMP enable by default? Why no switches?

WNMP builds PHP with swoole,inotify, and redis enabled by default.

Since the WNMP author is also the LOWPHP author, WNMP ensures LOWPHP runs well. Traditional PHP‑FPM projects also run normally on WNMP.

inotify is an official optional extension for real‑time file change monitoring.

LOWPHP is a persistent‑memory runtime that leverages native C extensions for caching and hot‑reload. It’s similar in spirit to FrankenPHP (Go‑style) but built natively for PHP. It is both a runtime and a framework, enabling high‑performance apps with a familiar PHP‑FPM‑like development model and multi‑site support. Coming soon.

How are certificates issued?

For DNS‑01 via Cloudflare: after compiling/installing Nginx with wnmp.sh, go to Cloudflare → My Profile → API Tokens → Create Token, choose “Edit zone DNS” to generate a token, then on the server run:

echo "SAVED_CF_Token='YOUR_TOKEN_HERE'" >> ~/.acme.sh/account.conf

If valid Cloudflare creds and dns_cf.sh are detected, DNS‑01 is preferred; otherwise it falls back to webroot. After issuance WNMP writes cert paths and reloads Nginx.

We recommend DNS‑01. With webroot, if a CDN is enabled, renewals may fail because the origin may not be reachable directly.

Win11-WSL local development environment, run `wnmp devssl` to implement self-signed certificates for local HTTPS requests.

Can certificate applications be skipped in an internal network environment?

Yes. The script detects internal network environments and prompts whether to force certificate application. Selecting "No" skips certificate application, ideal for development environment installation and debugging. Selecting "Yes" enables certificate application similar to installing within a PVE NAT IPv4 virtual LAN. As long as the PVE host forwards ports 80 and 443 to the current internal KVM virtual machine, certificates can be applied normally.

Why WebDAV instead of FTP?

FTP is plaintext by default, making credentials easy to intercept. Even with TLS it’s cumbersome. Disable FTP server software entirely.

WebDAV rides on HTTPS (443) with SSL protection.

On Windows, use WinSCP (as with FTP) or RaiDrive (map as a local drive). On Linux, use Rclone to mount.

WebDAV supports multiple accounts per site. Run wnmp webdav repeatedly for the same domain to add more accounts. Password files are stored under /home/passwd/.

WinSCP settings: Protocol: WebDAV; Host: [domain]/webdav; Encryption: TLS/SSL implicit; Port: 443.

Other clients: https://[domain]/webdav.

Replace [domain] with your real domain.

Can I use WNMP as a WebDAV‑only cloud drive?

Yes. When creating a site with wnmp vhost or adding WebDAV via wnmp webdav, choose “public directory: yes”. WNMP will disable all .php execution and serve any extension as a downloadable file.

If used purely as a drive, you can install Nginx only (skip PHP and MariaDB).

Why MariaDB instead of MySQL?

MariaDB is an open‑source fork by the original MySQL authors. It is highly compatible with MySQL syntax—migrate/import and it should just work.

What is the Mroonga search engine?

MariaDB includes an optional Mroonga engine in multiple versions, but those are often outdated. WNMP disables the built‑in variant and installs the latest Mroonga separately.

MariaDB’s Mroonga page: https://mariadb.com/docs/server/server-usage/storage-engines/mroonga/about-mroonga

Mroonga official site: https://mroonga.org/

For MySQL/MariaDB projects, performance bottlenecks often come from query speed. Avoid LIKE fuzzy search—it’s slow!

Switch your table engine to Mroonga and add full‑text indexes on varchar/text columns. Example:

SELECT name FROM users WHERE MATCH (name) AGAINST ('+Hello Word' IN BOOLEAN MODE); (Replace field/table names with your own.)

See the Mroonga site for more documentation. https://mroonga.org/

How to manage MariaDB?

Access https://[ip]/phpmyadmin. Servers with a public IPv4 address automatically obtain a Let's Encrypt IP certificate for protection and have Nginx Basic Auth enabled. The username is wnmp, and the password is the phpMyAdmin access password you set during installation or Nginx update.

To change BasicAuth for the default site: htpasswd -bc /home/passwd/.default [user] [password]. (The default site supports a single account.)

MariaDB only supports connections from localhost, not 127.0.0.1. Please note that the project source code uses localhost to connect to the database.

Alternatively, manage via the shell by running mysql.

For Mroonga tables, do not import/export via phpMyAdmin (it does not consider Mroonga specifics).

Prefer mysqldump for import/export on the server:

All databases (with accounts/privileges/routines/events): mysqldump --all-databases --single-transaction --default-character-set=utf8mb4 --routines --events --flush-privileges | gzip > all_databases_backup.sql.gz

Single DB: mysqldump --single-transaction --default-character-set=utf8mb4 --databases test | gzip > test.sql.gz

Import: gunzip < all_databases_backup.sql.gz | mysql --default-character-set=utf8mb4

Import: gunzip < test.sql.gz | mysql --default-character-set=utf8mb4

Can I perform an overwriting installation? Is there a backup of the database data?

Use wnmp update mariadb to upgrade or downgrade an installed WNMP database. Full SQL, program, configuration and stopped-server data backups are retained in /home/wnmp-backups/mariadb/. The target version initializes its own system tables, then automatically restores application databases, routines, events, triggers, accounts, roles and grants. Failed updates attempt to restore the previous version. Custom system metadata such as time zone tables, replication settings and third-party plugins/UDFs requires separate migration; Mroonga is rebuilt automatically.

Uninstalling with wnmp remariadb keeps the existing backup location: /home/all_databases_backup_[time].sql.gz.

Is it compatible with the in-memory architecture of Swoole and Workerman?

Yes. Version 1.02 has just added the --pcntl extension, making it compatible with Workerman.

Can I use only part of the stack?

Yes. Install or remove components individually, or run only the kernel/network tuning.

Does it support one-click generation of SSH login keys?

Yes. Run wnmp sshkey

===

⚠️ Important reminder: Before confirming you have saved the private key to your own computer

⚠️ Do not disconnect the current SSH session, or you will be unable to log back into the server!

===

Save the private key to your local computer. You can then load the key in an SSH client for password-less login.

After configuring key-based login, the server will block all username/password logins.

How is WNMP different from other scripts? Why choose it?

WNMP auto‑tunes parameters based on your hardware and OS for strong production performance.

Benchmark with ab, wrk, etc.

On identical hardware, compare with other scripts. Results may vary and are for reference only.

Note: When testing concurrency, disable CDN caching, use HTTP, and run e.g. ab -n100000 -c1000 -k http://... — the -k flag (Keep‑Alive) better simulates real browsers and yields higher performance.

Will the wnmp.org domain ever be sold?

No. The author commits to open‑source principles; wnmp.org is the only official website.

How can I report bugs?

QQ Group: 1075305476

Telegram Group: https://t.me/wnmps

Github: https://github.com/lowphpcom/wnmp

The community source code is being built on LOWPHP — stay tuned!