What is SVN?
You can find more information about SVN, and download clients for most major platforms, at the official SVN site.
If you would like to join PHP development or would like to contribute to the PHP documentation, contact the relevant group. You will need your own SVN account to contribute.
You may also be interested in a PHP snapshot, see snaps.php.net. Compiled snapshots for Windows users are also included.
'; site_header("SVN Access"); ?>If you wish to get the latest PHP source tree, you can obtain it through SVN. You should be warned that the SVN version is a development version, and as such, is often unstable, and may not even compile properly. The advantage of using SVN, though, is that you can get the latest fixes and updates, without having to wait for the official releases.
PHP uses an advanced configuration system that requires you to have the following tools. re2c is only necessary for developers and can be found here. All other utilities can be obtained from the GNU FTP site.
If you're experiencing problems, see also the section on buildconf failures.
svn checkout http://svn.php.net/repository/php/php-src/branches/PHP_5_2 php-src-5.2
svn checkout http://svn.php.net/repository/php/php-src/branches/PHP_5_3 php-src-5.3
svn checkout http://svn.php.net/repository/php/php-src/trunk php-src
Note that certain combinations of autoconf, automake and libtool may not
work when used together. See below for
details.
Also, certain versions of autoconf may generate warnings of AC_PROG_CPP
called before AC_PROG_CC. These messages can usually be ignored.
./buildconf to generate the configure script. This may take several moments.
There are many other things, such as the XML source code
for the documentation, available via SVN. See
the web-based view of the SVN
server to see what is available. For example, to checkout the
latest english version of the PHP manual:
svn checkout http://svn.php.net/repository/phpdoc/en/trunk ./phpdoc-en
There seem to be problems with libtool 1.4.2. It is suggested that you use libtool 1.4, along with autoconf 2.13 and automake 1.4. You should also ensure that autoconf, automake and libtool are installed in the same directory. libtool 1.5 will not work.
The following combinations are known to work:
If you have multiple versions of autoconf installed on your computer, as is
common for many UNIXes, you can set the PHP_AUTOCONF and PHP_AUTOHEADER
variables when running buildconf to indicate which versions it should use
e.g.:
PHP_AUTOCONF=autoconf213 PHP_AUTOHEADER=autoheader213 ./buildconf
PHP only supports flex 2.5.4, not later versions as they broke backwards compatibility. Please note that PHP 5.3 and later do not require flex at all.