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
Instalación
Se puede encontrar información para la instalación de esta extensión PECL en el capítulo del manual titulado Instalación de extensiones PECL. Se puede encontrar información adicional, tal como nuevos lanzamientos, descargas, ficheros fuente, información de mantenimiento, y un CHANGELOG, aquí: » http://pecl.php.net/package/svn
Si ./configure está teniendo problemas para encontrar los
archivos SVN (Por ejemplo, Subversion fue instalado con un prefijo de directorio
diferente), use
./configure --with-svn=$USR_PATH
para especificar el directorio donde
include/subversion-1/ está ubicado.
Actualmente, no hay ninguna DLL disponible para esta extensión PECL. Véase también la sección Compilar en Windows .
Si la extensión es compilada contra libsvn 1.3, las funciones que trabajan con copias fallarán cuando trabaje en copias creadas por Subversion 1.4.
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
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.
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.
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'.
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.
