Bring the power of PHP 8.6 to your QNAP NAS with an advanced, native PHP-FPM environment, a comprehensive extension collection and a dedicated web-based administration interface.
PHPFPM86 is a standalone PHP distribution specifically designed for QNAP QTS 6 and QuTS hero 6. It provides a modern, high-performance PHP environment for web applications, development, database connectivity and self-hosted services.
Unlike conventional PHP installations, PHPFPM86 allows you to replace the PHP-FPM runtime used by the QNAP Web Server directly from its administration interface and restore the original firmware-provided PHP runtime when needed.
Key Features
- Native PHP 8.6 runtime, compiled from source.
- PHP-FPM, PHP CLI, PHP CGI, PHPize and PHP-config.
- Dedicated PHP-FPM Unix sockets.
- Zend OPcache and JIT support.
- Comprehensive collection of native and PECL extensions.
- Independent configuration and private runtime libraries.
- Native x86-64 and ARM64 build support.
- No Docker or Container Station required.
- Designed for QNAP Web Server integration.
- Automatic restoration of the original QNAP PHP runtime through the administration interface.
- PHP 8.6 exclusively, without additional PHP branches bundled.
Advanced Web Administration Interface
PHPFPM86 includes a dedicated administration portal written in Go, providing a modern, responsive and user-friendly interface directly accessible from the QNAP App Center.
The administration interface provides:
- PHP-FPM service management.
- Start, stop and restart controls.
- QNAP Web Server PHP runtime switching.
- Real-time service status and uptime.
- PHP version information.
- PHP information and runtime diagnostics.
- PHP.ini configuration editor.
- PHP-FPM pool management.
- Extension activation and deactivation.
- Configuration validation.
- Configuration history and restoration.
- Backup and export capabilities.
- Integrated log viewer.
- Downloadable diagnostic archives.
- Dark and light themes.
- Support for 24 languages.
- Secure password authentication.
- Remember-me functionality.
- QNAP QuLog Center integration.
- Automatic maximization of the administration window.
Native PHP Extensions
PHPFPM86 provides an extensive collection of built-in PHP capabilities, including:
| Category | Extensions |
|---|---|
| Database | PDO, MySQLi, PDO MySQL, SQLite3, PDO SQLite, PostgreSQL, PDO PostgreSQL, ODBC, PDO ODBC, Firebird |
| Security | OpenSSL, Sodium, Hash |
| Networking | cURL, FTP, Sockets, SOAP, LDAP |
| XML and HTML | DOM, XML, XMLReader, XMLWriter, SimpleXML, XSL, LibXML |
| Internationalization | Intl, Mbstring, Iconv, Gettext |
| Image processing | GD, EXIF |
| Compression | ZIP, Zlib, Bzip2 |
| Mathematics | BCMath, GMP |
| Performance | Zend OPcache, JIT |
| System | POSIX, PCNTL, FFI, Shared Memory, System V IPC |
| Data processing | JSON, Filter, Fileinfo, Tokenizer, Calendar, Ctype |
Additional PECL Extensions
The PHPFPM86 extension collection targets the following additional modules:
Caching and Serialization
- Redis
- APCu
- Memcached
- Igbinary
- Msgpack
Database Connectivity
- MongoDB
- Oracle OCI8
- PDO OCI
- Microsoft SQL Server
- PDO SQL Server
Networking and Communication
- SSH2
- RDKafka
- AMQP
- Event
- gRPC
- Protocol Buffers
- PECL HTTP
- Raphf
- OpenSwoole
Development and Debugging
- Xdebug
- PCOV
- AST
- Uploadprogress
- Inotify
Image, Email and Data Processing
- Imagick
- IMAP
- Mailparse
- YAML
- Pspell
- DS
- UUID
- TimezoneDB
Security and File Services
- GnuPG
- Mcrypt
- SMBClient
Extension availability may vary depending on upstream PHP compatibility, processor architecture and third-party licensing requirements. Experimental, debugging and potentially conflicting extensions may be disabled by default.
Extended Database Support
PHPFPM86 is designed to provide connectivity to a wide range of database engines and enterprise services:
- MySQL
- MariaDB
- PostgreSQL
- SQLite
- MongoDB
- Oracle Database
- Microsoft SQL Server
- Firebird
- Redis
- ODBC-compatible databases
Oracle Instant Client and Microsoft ODBC connectivity are subject to their respective third-party licensing conditions.
High Performance and Optimization
PHPFPM86 takes advantage of modern PHP technologies to deliver an efficient execution environment:
- Zend OPcache.
- Just-In-Time compilation.
- Configurable PHP-FPM process management.
- Dedicated worker pools.
- Unix socket communication.
- Redis and Memcached integration.
- Advanced serialization capabilities.
- Private, source-compiled runtime dependencies.
PHP-FPM worker settings, memory limits, execution timeouts, upload limits and other PHP configuration parameters can be adjusted through the administration portal.
QNAP Web Server Integration
One of the main features of PHPFPM86 is its ability to integrate directly with the native QNAP Web Server.
From the administration interface, administrators can switch the QNAP Web Server to the PHPFPM86 runtime or restore the original PHP runtime provided by the NAS firmware.
The switching mechanism includes configuration validation, service restart checks, backup and recovery mechanisms, and detailed diagnostic logging.
No manual replacement of QNAP firmware binaries is required by the user.
Installation Paths and Sockets
Installation prefix:
/opt/PHPFPM86
PHP CLI executable:
/opt/PHPFPM86/bin/php
PHP-FPM executable:
/opt/PHPFPM86/sbin/php-fpm
Configuration directory:
/opt/PHPFPM86/config
Administration portal port:
18586
PHPFPM86 uses dedicated Unix sockets to separate its runtime from other PHP installations.
All private configuration files, logs, caches, temporary files, backups and runtime data are managed within the application installation directory.
Initial Configuration
- Install PHPFPM86 from the QNAP App Center.
- Open the application using its App Center icon.
- Retrieve the initial security code from QNAP QuLog Center.
- Enter the security code in the administration interface.
- Create your administration password.
- Review your PHP configuration and enabled extensions.
- Enable QNAP Web Server integration if required.
The initial security code is only required during the initial configuration or applicable account recovery procedures.
Lost Password or Security Code
If you have lost your initial security code, use the resend-code feature available in the administration interface and check QNAP QuLog Center.
If you have forgotten your administration password, follow the application’s documented password recovery procedure.
Do not delete the application configuration directory, as it may contain your customized PHP settings, worker pools and configuration backups.
Security and Reliability
PHPFPM86 includes multiple safeguards designed to improve runtime reliability and protect the NAS environment:
- Dedicated runtime environment.
- Private shared libraries.
- PHP configuration validation.
- Extension loading verification.
- PHP module ABI compatibility checks.
- Controlled integration with QNAP system services.
- Configuration backup and restoration.
- Protection against conflicting extension activation.
- Secure administration sessions.
- Go vulnerability scanning using Govulncheck.
- Native binary and shared library dependency auditing.
- Detailed service and build diagnostics.
System Requirements
| Requirement | Compatibility |
|---|---|
| QTS 6.x | Supported target |
| QuTS hero 6.x | Supported target |
| QTS 5.x | Not supported |
| QuTS hero 5.x | Not supported |
| x86-64 | Supported build architecture |
| ARM64 | Supported build architecture |
| ARM 32-bit | Not supported |
| Container Station | Not required |
| HD Station | Not required |
Package availability depends on successful architecture-specific build and runtime validation.
Important Notes
- PHPFPM86 contains PHP 8.6 exclusively.
- Always verify that your web applications support PHP 8.6 before switching the QNAP Web Server runtime.
- Some third-party extensions may require compatibility patches or upstream pre-release versions.
- OpenSwoole is provided as an alternative to Swoole where applicable; complete compatibility between both projects is not guaranteed.
- Mcrypt is provided for legacy application compatibility and is not recommended for new cryptographic implementations.
- Debugging and code coverage extensions should only be enabled when needed.
- Back up your web applications and configurations before changing the PHP runtime.
- Avoid enabling multiple third-party PHP runtime replacements simultaneously.
- For security reasons, do not expose the administration portal directly to the Internet.
Forgotten Administrator Password โ Reset Procedure
If you have forgotten your PHPFPM86 administrator password, you can securely reset the administration account through SSH without reinstalling the application or losing your PHP configuration.
Step 1 โ Connect to your QNAP NAS
Enable SSH if necessary from Control Panel โ Network & File Services โ Telnet / SSH.
Connect to your NAS using an SSH client with root privileges.
Step 2 โ Reset the administrator account
Execute the following commands:
ROOT="$(readlink -f /opt/PHPFPM86)"
"$ROOT/stop.sh"
"$ROOT/bin/phpfpm86-admin" --reset-admin "$ROOT"
"$ROOT/start.sh"
Important: Resolve the actual installation directory before stopping PHPFPM86, as the /opt/PHPFPM86 symbolic link may be removed when the application stops.
Do not execute the administrator reset command while the administration portal is running. Stop immediately if any command returns an error.
Step 3 โ Retrieve the new security code
A new, randomly generated, one-time security code will be available in:
QuLog Center โ Local Device โ System Event Log
Search for PHPFPM86.
Alternatively, retrieve the security code directly through SSH:
cat "$ROOT/config/portal-setup.txt"
Keep this security code confidential.
Step 4 โ Create a new administrator account
- Open PHPFPM86 from the QNAP App Center.
- Enter the newly generated security code.
- Create your administrator username and password.
- Confirm your new password.
- Log in using your new credentials.
The security code is automatically removed after successful account creation.
Configuration and Data Preservation
The password reset procedure only resets the PHPFPM86 administration credentials and invalidates previous authentication sessions.
The following settings are preserved:
- PHP.ini configuration.
- PHP-FPM worker pools.
- Installed PHP extensions.
- Extension activation settings.
- Configuration history.
- Existing backups.
- QNAP Web Server integration preferences.
- Application logs.
No reinstallation is required, and no website or database files are deleted.
Please note that stopping and restarting PHPFPM86 may temporarily interrupt websites using the QNAP Web Server integration. Perform this operation during a maintenance window if your NAS hosts production websites.
Official Resources
- PHP Official Website: https://www.php.net/
- PHP Documentation: https://www.php.net/docs.php
- PHP Source Code: https://github.com/php/php-src
- PHP-FPM Documentation: https://www.php.net/manual/en/install.fpm.php
- PECL Extension Repository: https://pecl.php.net/
- PHP Extension Installer: https://github.com/php/pie
- OpenSwoole: https://openswoole.com/
- Xdebug: https://xdebug.org/
- Go Programming Language: https://go.dev/
Native PHP. Advanced management. Built for QNAP.
Made by QoolBox.
PHPFPM86 is an independently developed community package and is not an official QNAP product. PHP and its third-party extensions remain subject to their respective open-source and commercial licenses.
Last update: 2 December 2026






Reviews
There are no reviews yet.