PHP module requirements
-
Hi,
Silly question… what PHP modules are required for WordPress to operate properly? Not worried about plug-ins, the authors there should be keeping tabs on what modules *their* plug-ins require… I’m discussing the WordPress core itself.
Yes, it has been asked before… about 4 years ago. Amongst the answers is to use the original MySQL client API, which is now removed in PHP7. So clearly that answer is no longer correct.
The reason I ask this, just saying “PHP 7” is not sufficient:
# emerge -pv dev-lang/php Local copy of remote index is up-to-date and will be used. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/php-7.0.21:7.0::gentoo USE="acl apache2* berkdb bzip2 cli crypt ctype curl* fileinfo filter fpm gd gdbm gmp hash iconv ipv6 json mysql mysqli nls opcache pdo* phar posix readline session simplexml sqlite ssl tokenizer truetype unicode webp xml xmlreader* xmlwriter* xpm zip* zlib -bcmath -calendar -cdb -cgi -cjk -coverage -debug -embed -enchant -exif (-firebird) -flatfile -ftp -imap -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit (-libressl) -mhash -mssql -oci8-instant-client -odbc -pcntl -phpdbg -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -systemd -sysvipc -threads -tidy -wddx -xmlrpc -xslt" 0 KiB
In short, PHP7 ain’t PHP7, ain’t PHP7. There’s 84 different flags that can be optionally turned on or off, meaning 19342813113834066795298816 possible builds of PHP7. I don’t have time to try each and every one to see which ones work and which ones don’t, nor do I want a kitchen-sink build that has everything since that wastes resources and creates greater opportunity for nefarious mischief.
- The topic ‘PHP module requirements’ is closed to new replies.