Skip to content / Aller au contenu
php127.hazyhaar.fr
Theme / Thème

PrestaShop on php127

The shop on this site is PrestaShop 8.2.1 served by php127. This article distinguishes the historical bench, its regressions on 2026-11-21 and the checks of 2026-11-22. The shop presents the audit offer; sales are not open and ordering awaits company registration and completion of the legal notices.

The bench: thirty-two cases compared with PHP 8.3.6

The acceptation/j5prestashop bench of revision 11f6d94 has 32 cases, each played under PHP 8.3.6, which serves as the reference, then under php127, and compared. Both runtimes serve the shop over FastCGI, each behind its own daemon, against a local MariaDB database. The cases are split as follows:

  • case 01 reads PrestaShop's information page on the PHP environment, and case 02 runs a PrestaShop configuration test;
  • cases 03 to 14 compile Smarty templates, in versions 4 and 5: compilation, inheritance, loops, modifiers, escaping and caching;
  • cases 15 to 22 process images with GD: creation, resizing, rotation, cropping, then JPEG, PNG, GIF and WebP;
  • cases 23 to 26 deal with zip archives: opening, creating and extracting a module, then refusing an entry that leaves the target folder and a decompression bomb;
  • case 27 computes a price including tax with bcmath and intl;
  • case 28 installs PrestaShop from the command line;
  • cases 29 to 32 request over HTTP the home page, a product page, the cart and the back-office login page.

Case 02 also checks for the extensions PrestaShop requires, including GD, zip, intl, bcmath, DOM, SimpleXML, pdo_mysql, cURL, mbstring, iconv, fileinfo, OpenSSL and JSON. Case 01 compares the phppsinfo.php page.

The team ran this internal bench from its code tree, with the reference binary and local MariaDB image. The following command describes that past launch without assuming reader access to those resources:

CGO_ENABLED=0 go test -count=1 ./acceptation/j5prestashop

The state of the bench on 2026-11-21

The record of 2026-11-21 at 17:18 (regressions-bancs.md) replayed the bench on successive heads of the day. On the 17:00 head, it described the following three historical failures, which no longer describe reference revision 5b31e86:

  • 28, command-line installation: it passed at 7:13 and has failed since the integration of a fix to the engine's arrays;
  • 27, price including tax: it passed at 11:34 and has failed since a fix to the intl extension;
  • 32, back office: the login page returns status 500 instead of 302, since a fix that touched GD and PDO.

These three regressions were fixed: j9/c9_commande_ecarts_3.reprise.out.md.err records a passing acceptation/j5prestashop bench for the node integrated as 5b31e86. The report of 2026-11-22, j9/c9_commande_ecarts_4.out.md, also records its later pass; these results replace the old failing verdict.

What the bench does not check

The bench was written to check that a shop installs and displays. Its limits are recorded in dettes.md.

It does not compare page content. Cases 29 to 32 only compare the HTTP status, not the body (recorded on 2026-11-20). Yet the bodies differ by a few bytes: 48,808 bytes for the cart under php127 against 48,804 for the reference (2026-11-20), and 100,274 bytes for the home page against 100,272 (2026-11-20). These differences have not been examined.

It does not compare every image pixel by pixel. JPEG, which loses information, and GIF, whose palette conversion is specific to libgd, are checked by reading them back and through getimagesize, not pixel by pixel.

It is not reliable when run in parallel. On 2026-11-21, while other runs were playing the same benches, the reference answered 500 with an empty body on the home page (dettes.md). Acceptance benches are therefore replayed alone.

Checkout has a separate bench. The 32 historical cases do not exercise it, but since 2026-11-22, acceptation/j7commande covers the order journey. At revision 31460d3, j9/c9_commande_ecarts_4.out.md records a pass with no entry in its discrepancy table: invoices, state changes and emails with attached invoices are compared with the reference. This result does not qualify third-party modules in general.

It runs against MariaDB 11.4, while the server of this site runs MariaDB 10.11.

This site as an example

The shop presents a non-physical product: migration audit hours for php127, at EUR 120 excluding VAT per hour. Ordering will open after company registration and completion of the legal notices. The offer provides for bank transfer or quotation without a third-party payment module; this does not demonstrate the absence of every outbound network call from the process.

On the server side, the shop has its own php127 process, under its own system account, in a hardened systemd unit, behind nginx, which serves the static files. It is served without a page cache: every page of the shop is executed by php127 on every request. The slowness described in the article on speed therefore shows directly there.

Checkout verification is now recorded, with the bench's limits: MariaDB 11.4 rather than 10.11, a bench FastCGI front end rather than nginx, and an unplayed long-running test because it was not enabled. The report of 2026-11-22 distinguishes these limits from the order journey's pass without a recorded discrepancy at revision 31460d3. A bench pass does not open sales.

What this means for an existing shop

Within the historical scope, the three regressions no longer describe reference revision 5b31e86. The added order journey passes without a recorded discrepancy as of 2026-11-22, revision 31460d3. These observations do not qualify another shop's modules, themes or payment methods. Comparing its journeys remains the work planned in the audit offer presented here, for which ordering is not yet open.

Lire en français