php/php-src

The PHP Interpreter

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. PHP is distributed under the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause). [](https://github.com/php/php-src/actions/workflows/test.yml) [](https://issues.oss-fuzz.com/issues?q=project:php) The PHP manual is available at php.net/docs. Prebuilt packages and binaries can be used to get up and running fast with PHP. For Windows, the PHP binaries can be obtained from windows.php.net. After extracting the archive the .exe files are ready to use. For other systems, see the installation chapter. For Windows, see Build your own PHP on Windows. For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For a default build, you will additionally need libxml2 and libsqlite3. On Ubuntu, you can install these using: On Fedora, you can install these using: On MacOS, you can install these using brew:…

php/php-src on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-27T20:26:47.191Z

Inside the original README — Document outline
  1. The PHP Interpreter
  2. Documentation
  3. Installation
  4. Prebuilt packages and binaries
  5. Building PHP source code
  6. Testing PHP source code
  7. Installing PHP built from source
  8. PHP extensions
  9. Contributing
  10. Guidelines for contributors
  11. Credits

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: BSD-3-Clause. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

The PHP Interpreter

Repository facts

Owner
php
Primary language
C
Stars
41,708
Forks
8,479
Open issues + pull requests
2,213
License
BSD-3-Clause
Archived
No
Default branch
master
Created
2011-06-16T01:52:25.000Z
Last push
2026-10-22T11:17:47.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-29T12:13:47.143Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

torvalds/linux

Genymobile/scrcpy

microsoft/PowerToys

colbymchenry/codegraph

git/git

DeusData/codebase-memory-mcp