[wp-trac] [WordPress Trac] #64925: Build/Test Tools: PHP is required locally to build with the new Gutenberg build process

WordPress Trac noreply at wordpress.org
Sun Mar 22 21:24:06 UTC 2026


#64925: Build/Test Tools: PHP is required locally to build with the new Gutenberg
build process
------------------------------+------------------------------
 Reporter:  gaisma22          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------------

Comment (by SirLouen):

 Replying to [comment:4 dmsnell]:
 > Not sure I follow. I think the first time was over twenty years ago 🙃

 I mean, [https://github.com/WordPress/wordpress-
 develop/blob/trunk/README.md this is the wordpress-develop Docker
 workflow]

 > Would the build not run inside Docker?
 Basically you don't really need anything but NPM/Node according to the
 building instructions. The build itself runs outside Docker.

 It's important to keep this safe for new contributors, or updating that
 PHP is going to be required from now on.

 Here we have two options:

 - Implement the regex logic (a small tokenizer, not a great deal; there
 are even some JS libs that also do this).
 - Update the Getting Started guide to add the PHP requirement explicitly.

 cc @johnbillion

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64925#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list