---
title: "Compiling PHP.wasm - Air Market"
description: "You need to rebuild PHP so it runs as WebAssembly, and the build is fiddly. This covers compiling the main modules and the dynamic extensions for both Node and the browser, including what to change a…"
canonical: "https://airmarket.ai/app/compile-php-wasm"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Compiling PHP.wasm

Skill by [WordPress](/@wordpress)

# Compiling PHP.wasm

Build PHP.wasm for Node or the browser without guesswork

## What this does

You need to rebuild PHP so it runs as WebAssembly, and the build is fiddly. This covers compiling the main modules and the dynamic extensions for both Node and the browser, including what to change and where. Reach for it when you are touching the build or a compile is failing.

### Top 3 things it does for you

- Recompile PHP.wasm for Node or the web
- Build a PHP extension as a side module
- Work out why a build is failing

## Information

**Compiling PHP.wasm at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [WordPress](/@wordpress) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 11 KB |
| Licence | GPL-2.0 |
| Repository | [WordPress/wordpress-playground](https://github.com/WordPress/wordpress-playground/tree/47816996e280874468cd609f16f36c5cbd89dfc7/.agents/skills/compile-php-wasm) |
| GitHub stars | 1,974 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Compiling PHP.wasm and flagged nothing. AIR's verdict: **safe**.

**What Compiling PHP.wasm's check was run against**

|  |  |
| --- | --- |
| Commit | 47816996e280874468cd609f16f36c5cbd89dfc7 |
| Content hash | 80082127fd02a771c5dca866e5a190a7c4582f41ee00b1f728898bcbabc0e5d3 |
| Files read | [Browse the files at this exact commit](https://github.com/WordPress/wordpress-playground/blob/47816996e280874468cd609f16f36c5cbd89dfc7/.agents/skills/compile-php-wasm/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Compiling PHP.wasm](/security/compile-php-wasm)

## About Compiling PHP.wasm

This covers compiling PHP.wasm main modules and side modules - the dynamic extensions - targeting both Node.js and web platforms.

Reach for it when you are recompiling PHP, adding Emscripten flags, changing Dockerfiles, building an extension as a SIDE_MODULE, upgrading Emscripten, or trying to get past a compilation failure.

## What's inside

- SKILL.md - instructions

## Questions

### Is Compiling PHP.wasm safe to install?

AIR scanned this exact version of Compiling PHP.wasm and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 47816996e280, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/compile-php-wasm.

### How do I install Compiling PHP.wasm?

Open https://airmarket.ai/app/compile-php-wasm on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/WordPress/wordpress-playground/tree/47816996e280874468cd609f16f36c5cbd89dfc7/.agents/skills/compile-php-wasm. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by WordPress](/@wordpress)

---

Canonical URL: <https://airmarket.ai/app/compile-php-wasm>
