{"id":20,"date":"2026-11-21T12:05:00","date_gmt":"2026-11-21T12:05:00","guid":{"rendered":"https:\/\/php127.hazyhaar.fr\/blog\/?p=20"},"modified":"2026-11-22T04:03:17","modified_gmt":"2026-11-22T04:03:17","slug":"en-06-wordpress-on-php127","status":"publish","type":"post","link":"https:\/\/php127.hazyhaar.fr\/blog\/en-06-wordpress-on-php127\/","title":{"rendered":"WordPress on php127"},"content":{"rendered":"<p>The blog you are reading is a WordPress site served by php127. This article explains how WordPress is checked under php127, what that check covers and what it leaves aside. It relies on the code of the <code>acceptation\/j3wordpress<\/code> acceptance bench in revision 11f6d94 and on the project&#039;s records (<code>dettes.md<\/code>, <code>regressions-bancs.md<\/code>, <code>constat-pratiques-performance.md<\/code>).<\/p>\n<h2>The bench: unmodified WordPress, two runtimes<\/h2>\n<p>The bench runs WordPress 6.9.4 without modification, once under PHP 8.3.6, which serves as the reference, and once under php127. Both instances start from the same initial database, receive the same HTTP requests, and their responses are compared. It runs on two databases: SQLite, through WordPress&#039;s official SQLite integration in version 3.1.3, and MariaDB 11.4 through <code>mysqli<\/code>. The MariaDB image is pinned by its digest and is never pulled from the network during the bench.<\/p>\n<p>The scenario (<code>acceptation\/j3wordpress\/scenario_test.go<\/code>) has eight steps:<\/p>\n<ul>\n<li>public reads with the classic Twenty Twenty-One theme: home page, post, search, and a check that a draft is visible neither at the post&#039;s address nor through search, and that a non-existent post returns a 404 error;<\/li>\n<li>home page and post reads with the Twenty Twenty-Five block theme;<\/li>\n<li>the RSS 2.0 feed, parsed as XML;<\/li>\n<li>logging in to the administration, with a wrong password refused, and resuming the session;<\/li>\n<li>administration, reading and writing;<\/li>\n<li>the REST API, version 2;<\/li>\n<li>uploading a media file, with an anonymous upload and a forbidden file type refused;<\/li>\n<li>blocked outbound network: no request may leave for the outside.<\/li>\n<\/ul>\n<p>At every launch, php127 receives <code>PHP127_BLOCK_EXTERNAL=1<\/code>, which makes cURL refuse addresses outside the loopback; it covers neither sockets nor the MySQL driver. WordPress is also configured to block its own external calls, automatic updates and scheduled task. The bench checks two failure situations: when MariaDB is unreachable, the page must report a database error without silently switching to SQLite; when SQLite fails, no connection to MariaDB may open.<\/p>\n<p>For this internal bench, the team had php127&#039;s code, the PHP 8.3.6 binary, Docker and its local MariaDB 11.4 image, <code>dpkg-deb<\/code>, and the packages and sources at paths fixed by <code>side_test.go<\/code>. It used the following command; this description assumes no reader access to those resources:<\/p>\n<pre><code>CGO_ENABLED=0 go test -count=1 .\/acceptation\/j3wordpress\n<\/code><\/pre>\n<h2>The state of the bench at the date of this article<\/h2>\n<p>The regression record of 2026-11-21 at 17:18 (<code>regressions-bancs.md<\/code>) did not list WordPress among failing benches. Since 2026-11-22, the operational bench <code>acceptation\/j7blog<\/code> also covers language changes, a plugin&#039;s installation and update cycle, and PNG thumbnail pixels: <code>j9\/c9_blog_ecarts.out.md<\/code> records its pass with an empty discrepancy table. This result concerns that journey, not all WordPress plugins.<\/p>\n<p>This finding has its limits, and the bench&#039;s history shows them. On 2026-11-20, when one stage of the project was being closed, the WordPress bench was failing, and this regression had stayed invisible through 41 successive integrations, because the integration gate did not replay the benches that start the binary without importing its packages (<code>constat-pratiques-performance.md<\/code>). The same day, a reporting defect of the bench was recorded: its summary message announced &quot;Z\u00c9RO \u00c9CART OBSERV\u00c9 (43 pas conformes)&quot;, that is &quot;zero discrepancy observed (43 conforming steps)&quot;, while uncatalogued divergences were making the test fail (<code>dettes.md<\/code>). The record of 2026-11-21 cited above is precisely a replay of the benches on successive heads, not a conclusion drawn from package tests.<\/p>\n<h2>What is not checked<\/h2>\n<p>The historical <code>acceptation\/j3wordpress<\/code> bench, described as of 2026-11-21 on 11f6d94, covers WordPress core and two bundled themes. The following limits concern that bench; the operational journey added since is distinguished above:<\/p>\n<ul>\n<li><strong>third-party plugins in general<\/strong>. This blog&#039;s bilingual navigation relies on site-specific categories, metadata and translation links, without a third-party translation plugin (<code>installation\/blog\/LISEZMOI.md<\/code>); the plugin cycle exercised by the operational bench does not qualify every other plugin;<\/li>\n<li><strong>updates through the administration<\/strong>, which are disabled in the bench;<\/li>\n<li><strong>comments<\/strong>: no step posts one;<\/li>\n<li><strong>load<\/strong>. The bench checks responses, not behaviour under traffic, nor memory stability over a long period. The measured slowness of php127, described in the article on speed, is the reason why the blog of this site is served behind an nginx page cache;<\/li>\n<li><strong>MariaDB 10.11<\/strong>. The bench runs against MariaDB 11.4; the server of this site runs version 10.11 from its distribution.<\/li>\n<\/ul>\n<h2>Known discrepancies that affect WordPress<\/h2>\n<p>Several discrepancies recorded in <code>dettes.md<\/code> concern WordPress media and logs:<\/p>\n<ul>\n<li>the record of 2026-11-20 says that <code>imagewebp<\/code> only writes lossless WebP and that no lossy WebP decoder is shipped; it does not measure a WordPress journey resizing a lossy WebP image;<\/li>\n<li><code>getimagesize<\/code> reads the whole file to obtain the dimensions (2026-11-20). The result is correct, but the cost grows with the size of the image;<\/li>\n<li>the <code>imagecreatefrom*<\/code> functions do not reproduce the text or the number of PHP 8.3.6 warnings; only the <code>false<\/code> result and the presence of a warning are checked (2026-11-20);<\/li>\n<li>the WordPress log carries a MariaDB warning about disabled certificate verification, for a connection without a password (2026-11-20).<\/li>\n<\/ul>\n<h2>What this means for you<\/h2>\n<p>The historical bench covers the reads, search, feeds, administration and REST API cases named above; its successful upload uses a <code>text\/plain<\/code> file, not every media type. The operational bench adds the journeys dated 2026-11-22 without establishing compatibility for every plugin or theme. Comparing application-specific journeys remains the team&#039;s method for the audit offer presented on this site; it does not guarantee unexercised journeys.<\/p>\n<p class=\"php127-traduction\"><a rel=\"alternate\" hreflang=\"fr\" href=\"https:\/\/php127.hazyhaar.fr\/blog\/fr-06-wordpress-sous-php127\/\">Lire en fran\u00e7ais<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The blog you are reading is a WordPress site served by php127. This article explains how WordPress is checked under php127, what that check covers and what it leaves aside. It relies on the code of the acceptation\/j3wordpress acceptance bench in revision 11f6d94 and on the project&#039;s records (dettes.md, regressions-bancs.md, constat-pratiques-performance.md). The bench: unmodified WordPress, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-en"],"_links":{"self":[{"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":2,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/posts\/20\/revisions\/64"}],"wp:attachment":[{"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/php127.hazyhaar.fr\/blog\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}