<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wordpress on Luther Monson</title>
    <link>https://luth.io/tags/wordpress/</link>
    <description>Recent content in Wordpress on Luther Monson</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 21 Sep 2026 19:55:00 -0700</lastBuildDate>
    <atom:link href="https://luth.io/tags/wordpress/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Calling Rust From PHP Without a Socket, Part 2: Making Existing Code Use It</title>
      <link>https://luth.io/blog/2026/09/calling-rust-from-php-without-a-socket-part-2/</link>
      <pubDate>Mon, 21 Sep 2026 19:55:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/09/calling-rust-from-php-without-a-socket-part-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://luth.io/blog/2026/09/calling-rust-from-php-without-a-socket-part-1/&#34;&gt;Part 1&lt;/a&gt; covered the plumbing. ePHPm registers&#xA;&lt;code&gt;ephpm_kv_*&lt;/code&gt; and &lt;code&gt;ephpm_db_*&lt;/code&gt; functions that call straight into Rust. A cache read through one costs about a tenth of a&#xA;microsecond instead of a loopback round trip. That&amp;rsquo;s nice and also useless on its own. Nobody is going to rewrite their&#xA;WordPress object cache or their Laravel cache store around a function called &lt;code&gt;ephpm_kv_set()&lt;/code&gt;. Applications talk to&#xA;existing APIs instead:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Redis through phpredis or Predis&lt;/li&gt;&#xA;&lt;li&gt;the cache through PSR-6/16 or &lt;code&gt;wp_cache_*&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;the database through &lt;code&gt;wpdb&lt;/code&gt;, mysqli, Eloquent or DBAL&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So there&amp;rsquo;s a set of Composer packages in the &lt;a href=&#34;https://github.com/ephpm&#34;&gt;ephpm org&lt;/a&gt; whose whole job is to sit under those&#xA;APIs and route them to the native functions. This post covers what&amp;rsquo;s in them and the rule that decides when they switch&#xA;on. It also covers the bugs that only showed up once real applications ran on top.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Zero-Dependency Deployments - Single Binary for WordPress</title>
      <link>https://luth.io/blog/2026/09/single-binary-wordpress/</link>
      <pubDate>Tue, 08 Sep 2026 20:25:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/09/single-binary-wordpress/</guid>
      <description>&lt;p&gt;The standard way to run a WordPress site is four services:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;nginx for HTTP and TLS&lt;/li&gt;&#xA;&lt;li&gt;php-fpm to run PHP&lt;/li&gt;&#xA;&lt;li&gt;MySQL for data&lt;/li&gt;&#xA;&lt;li&gt;Redis, once the site gets slow enough that someone installs an object cache plugin&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;That&amp;rsquo;s four processes and four config files. There are three sockets between them and four things to upgrade. For a&#xA;big site that&amp;rsquo;s fine. For a brochure site or a staging copy it&amp;rsquo;s absurd. The same goes for a PR preview, a box at the&#xA;edge, or a CI job that needs a real WordPress to test a plugin against.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Does One More WordPress Site Cost?</title>
      <link>https://luth.io/blog/2026/08/what-does-one-more-wordpress-site-cost/</link>
      <pubDate>Tue, 25 Aug 2026 20:20:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/08/what-does-one-more-wordpress-site-cost/</guid>
      <description>&lt;p&gt;ePHPm v0.7.0 shipped per-site multi-tenancy. Point &lt;code&gt;[server] sites_dir&lt;/code&gt; at a directory and every &lt;code&gt;Host&lt;/code&gt; maps to its own&#xA;docroot and its own Turso database file. One process serves all of them. The first question anybody asks about that is&#xA;&amp;ldquo;how many sites fit on a box?&amp;rdquo; The honest way to answer it is to turn the question around. What does &lt;strong&gt;one more&lt;/strong&gt; site&#xA;cost? If you know the marginal RAM, file descriptors, CPU and disk for a tenant, the box size falls out of arithmetic.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Faking MySQL&#39;s Quirks Well Enough to Fool WordPress</title>
      <link>https://luth.io/blog/2026/08/faking-mysql-quirks-wordpress/</link>
      <pubDate>Sun, 16 Aug 2026 15:50:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/08/faking-mysql-quirks-wordpress/</guid>
      <description>&lt;p&gt;Last month I wrote about &lt;a href=&#34;https://luth.io/blog/2026/07/sqlite-production-database-protocol-translation/&#34;&gt;running SQLite behind a MySQL socket&lt;/a&gt;&#xA;with &lt;a href=&#34;https://github.com/ephpm/litewire&#34;&gt;litewire&lt;/a&gt;. I ended on &amp;ldquo;passing an install suite is not the same thing as&#xA;behaving like MySQL&amp;rdquo;. That turned out to be accurate. On August 10th a few things happened at once:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I put a real WordPress 7.0.3 site through a benchmark on ePHPm.&lt;/li&gt;&#xA;&lt;li&gt;I A/B tested the new in-process database bridge against the wire path.&lt;/li&gt;&#xA;&lt;li&gt;I started building &lt;a href=&#34;https://github.com/ephpm/db-wordpress&#34;&gt;ephpm/db-wordpress&lt;/a&gt;, a &lt;code&gt;wpdb&lt;/code&gt; drop-in that talks to the&#xA;database in-process instead of over a socket.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Between them they produced six litewire issues in about three hours. None of them broke the install. All of them made&#xA;WordPress quietly do the wrong thing.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building a Custom SAPI - How PHP Actually Talks to the Outside World</title>
      <link>https://luth.io/blog/2026/07/building-a-custom-php-sapi/</link>
      <pubDate>Thu, 30 Jul 2026 20:18:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/07/building-a-custom-php-sapi/</guid>
      <description>&lt;p&gt;If you&amp;rsquo;ve only ever run PHP behind nginx, you&amp;rsquo;ve probably never had to think about how &lt;code&gt;echo&lt;/code&gt; reaches a socket. When&#xA;you embed PHP like &lt;a href=&#34;https://github.com/ephpm/ephpm&#34;&gt;ePHPm&lt;/a&gt; does, it&amp;rsquo;s the first thing you have to answer. The answer&#xA;is a SAPI. There is very little written about implementing one. Most of what I know came from reading &lt;code&gt;sapi/cli&lt;/code&gt;,&#xA;&lt;code&gt;sapi/cgi&lt;/code&gt; and &lt;code&gt;sapi/embed&lt;/code&gt; in php-src. Then I found out which parts I&amp;rsquo;d misread. This is the write-up I wanted back&#xA;in March.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SQLite as a Production Database via Protocol Translation</title>
      <link>https://luth.io/blog/2026/07/sqlite-production-database-protocol-translation/</link>
      <pubDate>Sat, 25 Jul 2026 20:40:00 -0700</pubDate>
      <guid>https://luth.io/blog/2026/07/sqlite-production-database-protocol-translation/</guid>
      <description>&lt;p&gt;Most of the PHP sites I&amp;rsquo;d put on &lt;a href=&#34;https://github.com/ephpm/ephpm&#34;&gt;ePHPm&lt;/a&gt; don&amp;rsquo;t need a MySQL server. A brochure&#xA;WordPress, an internal Laravel tool, a preview environment that lives for an afternoon. What they do need is something&#xA;that &lt;em&gt;looks&lt;/em&gt; like MySQL, because &lt;code&gt;mysqli&lt;/code&gt; and &lt;code&gt;pdo_mysql&lt;/code&gt; are the only database drivers their code has ever been&#xA;pointed at. I mentioned this in the &lt;a href=&#34;https://luth.io/blog/2026/06/ephpm-pragmatism/&#34;&gt;ePHPm pragmatism post&lt;/a&gt; as a one-paragraph&#xA;&amp;ldquo;because&amp;rdquo;. This is the longer version, now that WordPress 7.0 and Laravel 13 both install and run end to end on it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
