Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

php-src

php-src: PHP is a general-purpose scripting language especially suited to web development.

What problem it solves

Developers need a practical path to build, test, install, and extend the PHP interpreter from source. The repository also needs a clear contribution process for proposing new features, fixing bugs, and testing specific areas of the codebase.

Key features

  • Build from source — The repository provides a source-build workflow that generates a configure script, configures a debug or production build, and compiles PHP.

    Source: README, buildconf

  • Test the source tree — An extensive test suite can run after compilation, with options for controlling parallel jobs and limiting execution to particular directories.

    Source: README, run-tests.php

  • Install built binaries — After a successful build and test, the built PHP installation can be added to the configured prefix with `make install`.

    Source: README

  • Extend PHP — PHP includes bundled extensions and supports additional extensions through PIE or the deprecated PHP Extension Community Library.

    Source: README, EXTENSIONS

  • Contribute through review — Contributors can submit pull requests, while proposed features follow an RFC process and bug fixes can reference their relevant issue or ticket.

    Source: README

Quick start

Copied verbatim from the project's README.

sudo apt install -y pkg-config build-essential autoconf bison re2c libxml2-dev libsqlite3-dev
# For development
./configure --enable-debug
# For production
./configure
make -j4

Who it may suit

This repository may suit contributors who want to build, test, extend, or develop the PHP interpreter. It may also suit developers preparing changes that require an RFC or bug-fix review.

Topics to discuss

  • Which source-build configuration should be the recommended starting point for new contributors?

  • How can the test suite be made easier to navigate for contributors working on individual subsystems?

  • What improvements could make the RFC and pull-request contribution process clearer?


Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.

Read the original README https://github.com/php/php-src#readme

ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.

github.comhttps://github.com/php/php-src

Comments

…