From 2523e3c0a3d12ef8ed0a5c43d516fdc13b4ac2f2 Mon Sep 17 00:00:00 2001
From: Hannes Magnusson
Improving PHP requires a working build environment to test changes, the following section deals with setting up a working build environment.
For those working in Ubuntu Linux, you can run the following command to automate the installation of dependencies:
@@ -82,8 +83,10 @@ site_header("Get Involved", array("current" => "community"));
Note: If a Windows SDK is required, it is advised to install the SDK before Visual Studio.
Windows users should now download and unzip the PHP SDK to their workspace and execute the following commands in an appropriate Visual Studio Console:
The next step for everyone is to obtain the versioned PHP sources via git:
At this point you have a working build environment and the vanilla sources for your chosen branch of PHP, it is a good idea, before you change anything at all, to create a new branch and switch to it, in preparation for your awesome changes to come:
All operating systems now converge on (near as makes no difference) the same solutions for the rest of the build process:
-
For Microsoft Windows operating systems, those commands looks like this:
-
While for the rest of us, those commands look like this:
-
- Ever wondered how the PHP.net project actually works and what it has to offer?
- Who is in charge and how decisions are made? The PHP.net project has a lot of
- things in the works and is always looking for new talent to join the project,
- share new ideas, discuss improvements, fix broken features, look after the
- websites, documentation, and so on....
-
Anybody who programs in PHP can be a contributing member of the community
@@ -31,11 +22,11 @@ site_header("Get Involved", array("current" => "community"));
but help is still needed: testing release candidates, finding and squashing
bugs in tests, documentation, and sources.
- Operating System Preparation
+Operating System Preparation
+
-
[sudo] yum|apt-get|ports install package[-dev[el]]
-
If the compilation of an extension should fail because of missing dependencies, Ubuntu Linux can attempt to automate the resolution of those dependencies by issuing:
sudo apt-get build-dep php5
-
sudo apt-get build-dep php5-extname
Workspace Preparation
+Workspace Preparation
+
-
BRANCH should be replaced with an appropriate branch name, for example PHP-5.5.
git clone -b BRANCH https://github.com/php/php-src .
-
-git checkout -b my-awesome-changes
Building Your Development PHP
+Building Your Development PHP
+
+
+
+
+Contributing to PHP
+Contributing to PHP
+Four Best Ways to Contribute
+Four Best Ways to Contribute
-
+
-
Someone hoping to become involved in the maintenance and development of the source should be experienced in all of the areas mentioned above, as @@ -59,20 +50,23 @@ site_header("Get Involved", array("current" => "community"));
You will also need experience in C programming as PHP is written entirely in C.
+- Below are some useful links for developers: -