{ "name": "php", "version": "8.4.27", "summary": "PHP 8.4 with PHP-FPM: intl, mbstring, PDO SQLite, OpenSSL, curl, sodium, xsl (Roundcube, the admin panel, Z-Push)", "category": "language", "license": "PHP-3.01", "homepage": "https://www.php.net/", "source": { "url": "https://www.php.net/distributions/php-8.4.27.tar.xz", "sha256": "dcf93923b0e38e0d5252b25b796520b5a47761a08b3488b6d0b5d1115764d3f0" }, "watch": {"kind": "index", "url": "https://www.php.net/releases/index.php?json&max=1000&version=8", "regex": "\"(8\\.[0-9]+\\.[0-9]+)\":\\{", "pin": "8.4"}, "deps": [ "libxml2", "libxslt", "icu", "oniguruma", "openssl", "sqlite", "zlib", "curl", "libsodium" ], "env_packages": [], "static": false, "nss": true, "check": "bin/php -v | first && bin/php -m > \"$TMPDIR/m\" && for e in intl mbstring pdo_sqlite sqlite3 openssl curl sodium dom xml xsl fileinfo session exif; do has -ix \"$e\" < \"$TMPDIR/m\" || { echo \"no extension $e\"; exit 1; }; done && bin/php -r '$h = password_hash(\"bvs\", PASSWORD_ARGON2ID); $d = new PDO(\"sqlite::memory:\"); $d->exec(\"CREATE TABLE t(v)\"); $d->exec(\"INSERT INTO t VALUES (1)\"); echo (password_verify(\"bvs\", $h) && mb_strtoupper(\"\u017c\u00f3\u0142w\") === \"\u017b\u00d3\u0141W\" && Normalizer::normalize(\"e\\u{301}\") === \"\\u{e9}\" && $d->query(\"SELECT count(*) FROM t\")->fetchColumn() == 1) ? \"php ok\\n\" : \"php wrong\\n\";' | has -x 'php ok' && printf '[global]\\nerror_log = %s/fpm.log\\n[www]\\nuser = nobody\\ngroup = nogroup\\nlisten = %s/fpm.sock\\npm = static\\npm.max_children = 1\\n' \"$TMPDIR\" \"$TMPDIR\" > \"$TMPDIR/fpm.conf\" && sbin/php-fpm -t -y \"$TMPDIR/fpm.conf\" 2>&1 | has 'test is successful'" }