If you like you can compile your own copy of the PHP library. This way you can enable or disable extensions. The libraries we include on Mac has for example this extensions: Core, date, ereg, libxml, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, SPL, json, session, PDO, pdo_sqlite, standard, posix, Reflection, Phar, SimpleXML, soap, sockets, exif, tokenizer, xml, xmlreader, xmlwriter and zip.
We had a couple of years ago a PHP plugin which we dropped. It was linked to PHP 5.3 and not compatible with newer versions. Well, with the new plugin we rewrote big parts. Still it heavily depends on the PHP source code and if there is a change on some global data structures, we'll have to update the plugin again. If you need the plugin to be updated to a newer PHP version, please contact us.