Skip to content

DevEx: phpc serve --aot runs precompiled CGI binary per project #213

Description

@PurHur

Problem

Developers need to test AOT binaries without manual compile.php + CGI env wiring. #180 covers deploy bundles; this covers local dev ergonomics.

Goal

phpc build -o .phpc/bin/app examples/003-MiniWebApp/public/index.php
phpc serve --aot 127.0.0.1:8080 examples/003-MiniWebApp/public

Spawns CGI driver (#50) with per-request env against prebuilt binary.

Tasks

Acceptance criteria

Same curl tests pass against VM and AOT serve modes for 001-SimpleWeb after #201.

Dependencies

Files

  • bin/phpc.php, bin/serve.php, script wrapper

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolingTooling / CI / docsarea:webWeb / CGI / superglobalsenhancementNew feature or requestphase-3:aotPhase 3 – AOT deployment

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions