Thank you.
What's the result of the following command on your system:
Normally, (with PhpSwitcher >= 5.0.0), a specific dependency package is installed for each compiled PHP version. For instance, for PHP 7.1:
Code
- root@jessie64:/# LANG=C aptitude show imscp-psw-php7.1-runtime-dependencies
- Package: imscp-psw-php7.1-runtime-dependencies
- New: yes
- State: installed
- Automatically installed: no
- Version: 1.0
- Priority: optional
- Section: extra
- Maintainer: Laurent Declercq <l.declercq@nuxwin.com>
- Architecture: all
- Uncompressed Size: 28.7 k
- Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.0), libmagic1, mime-support, tzdata, libffi6, libargon2-1 (>= 0~20171227) | libargon2-0 (>= 0~20161029), libpcre3 (>= 2:8.41), libpcre2-8-0 (>= 10.33), libsodium23 (>=
- 1.0.14), zlib1g (>= 1:1.1.4), libapparmor1 (>= 2.7.0~beta1+bzr1772), libsystemd0, autoconf (>= 2.63), automake (>= 1.11), libpcre3-dev (>= 2:8.35), libpcre2-dev (>= 10.30), librecode0 (>= 3.6),
- libssl-dev, libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25), libbz2-1.0, libcurl4 (>= 7.56.1) | libcurl3 (>= 7.38.0), libdb5.3, liblmdb0 (>= 0.9.7), libqdbm14 (>= 1.8.74), libenchant1c2a (>= 1.6.0), libgmp10,
- libc-client2007e, libcomerr2 (>= 1.01), libgssapi-krb5-2 (>= 1.6.dfsg.2), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), libpam0g (>= 0.99.7.1), libfbclient2 (>=
- 2.5.0.25784~ReleaseCandidate1.ds2), libgcc1 (>= 1:3.0), libicu64 (>= 64.1~), libstdc++6 (>= 4.9), libldap-2.4-2 (>= 2.4.25), libsasl2-2, libonig2 (>= 5.9.5), libodbc1 (>= 2.3.1), libpq5 (>= 9.3~),
- libaspell15 (>= 0.60.7~20110707), libbsd0 (>= 0.0), libedit2 (>= 3.1-20160903), libncurses5 (>= 5.9), libtinfo5 (>= 5.9), libsnmp30 (>= 5.7.2), libsqlite0 (>= 2.8.0), libsqlite3-0 (>= 3.8.7.1), libsybdb5
- (>= 0.63), libtidy5deb1 (>= 1:5.2.0), libxmlrpc-epi0, libzip4 (>= 1.3.2), libgd3 (>= 2.1.1), snmp (>= 5.7)
- Description: Runtime dependencies for PHP 7.1
- This package provides the runtime dependencies for PHP 7.1, which has been built by the PHP compiler that comes with the i-MSCP PhpSwitcher plugin.
- It also provide the required development libraries and tools for compiling additional PHP modules.
- This package is a dependency package.
- root@jessie64:/#
That package is automatically built and installed by the php_compiler.pl script to satisfy the PHP runtime dependencies, including some dev dependencies. As you can see, there is a depend on the libpcre3-dev and libpcre2-dev packages which should provide the missing pcre2.h header file...