downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Runtime Configuration> <Requirements
[edit] Last updated: Fri, 24 Jun 2011

view this page in

Installation

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » http://pecl.php.net/package/svn

If ./configure is having trouble finding the SVN files (for example, Subversion was installed with a different prefix directory), use ./configure --with-svn=$USR_PATH to specify the directory where the include/subversion-1/ folder is located.

A DLL for this PECL extension is currently unavailable. See also the building on Windows section.

Warning

If the extension is compiled against libsvn 1.3, functions that work with working copies will fail when used on working copies created by Subversion 1.4.



Runtime Configuration> <Requirements
[edit] Last updated: Fri, 24 Jun 2011
 
add a note add a note User Contributed Notes Installation - [6 notes]
up
3
Bruno Macias
2 years ago
For install in CentOS 5.5

yum install subversion subversion-devel neon neon-devel
pecl install svn

echo "extension=svn.so" > /etc/php.d/svn.ini

service httpd restart
up
1
chris at livingresource dot net
2 years ago
If you have Ubuntu (I know 10.04+, not sure about earlier), you can do this to install the package;

sudo apt-get php5-svn
up
0
alexcescalona at gmail dot com
1 year ago
If you use CollabNet's Subversion client (v. 1.6.13), the development libraries are included. For the most current version (v 1.6.17) you may need to install CollabNet Subversion Edge for access to the development libraries.

Sure, the subversion-devel package should not conflict with Collabnet, but it has a dependency with the subversion package, which installs svn binaries in /usr/bin, which takes precedence over CollabNet's path in the PATH environment variable.
up
0
elpoutro at free dot fr
4 years ago
For Windows:
If you use a fresh install of windows XP you will need all this DLL in your C:/windows/system32/ folder:
intl3_svn.dll, libdb43.dll, libapr.dll, libapriconv.dll, libaprutil.dll, libeay32.dll, msjava.dll, php5ts.dll, ssleay32.dll, vsinit.dll, msvcr71.dll, MSVCP71.DLL
I recommend to use DependencyWalker (http://www.dependencywalker.com/) with your php_svn.dll (in php extensions) to see exactly which ones you need.
up
-1
AaronMontana 4T gmail D0T com
4 years ago
If you are running Ubuntu, and probably other linux distros - you may run into some installation errors like 'Could not find svn_client.h' - check to see if you have installed 'libsvn-dev'.
up
-1
me at home dot fr
4 years ago
To make php_svn.dll work with windows, you will first need to find missing dependancies with dependancy Walker tool...

In my case, libdb43.dll and libphp5ts.dll where missing in sytem32 directory.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites