<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="http://lifelinux.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Thu, 28 Mar 2013 07:59:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Install Subversion (SVN) Extension Working With PHP 5.3</title>
		<link>http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/</link>
					<comments>http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 28 Mar 2013 07:56:38 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[web programming]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1748</guid>

					<description><![CDATA[<p>This extension implements PHP bindings for Subversion (SVN), a version control system, allowing PHP scripts to communicate with SVN repositories and working copies without direct command line calls to the svn executable. In this tutorial, I will show you How to install Subversion (SVN) extension working with PHP 5.3. The first, download &#38; extract latest [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/">How To Install Subversion (SVN) Extension Working With PHP 5.3</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>This extension implements PHP bindings for Subversion (SVN), a version control system, allowing PHP scripts to communicate with SVN repositories and working copies without direct command line calls to the svn executable. In this tutorial, I will show you How to install Subversion (SVN) extension working with PHP 5.3.<span id="more-1748"></span></p>
<p>The first, download &amp; extract latest version of SVN extension, login as root and type the following command</p>
<pre># wget http://pecl.php.net/get/svn-1.0.2.tgz
# tar zxvf svn-1.0.2.tgz
# cd svn-1.0.2</pre>
<p>The second, execute phpize command will generate additional configuration files</p>
<pre># /webserver/php/bin/phpize</pre>
<p>Sample output</p>
<pre>Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626</pre>
<p>The next, type the following command to compile the svn extension source</p>
<pre># ./configure
# make &amp; make install</pre>
<p>If you get an errors like</p>
<pre>configure: error: Cannot find php-config. Please use --with-php-config=PATH</pre>
<p>To fix it, enter</p>
<pre># ./configure --with-php-config=&lt;path to php-config file&gt;</pre>
<p>Or, if you get an error like</p>
<pre>checking for svn includes... configure: error: failed to find svn_client.h</pre>
<p>To fix it, enter</p>
<pre># yum install subversion subversion-devel neon-devel -y</pre>
<p>Sample output</p>
<pre>Dependency Installed:
  apr.x86_64 0:1.3.9-5.el6_2
  apr-devel.x86_64 0:1.3.9-5.el6_2
  apr-util.x86_64 0:1.3.9-3.el6_0.1
  apr-util-devel.x86_64 0:1.3.9-3.el6_0.1
  cyrus-sasl-devel.x86_64 0:2.1.23-13.el6_3.1
  db4-cxx.x86_64 0:4.7.25-17.el6
  db4-devel.x86_64 0:4.7.25-17.el6
  gnutls-devel.x86_64 0:2.8.5-10.el6_4.1
  libproxy.x86_64 0:0.3.0-4.el6_3
  libproxy-bin.x86_64 0:0.3.0-4.el6_3
  libproxy-python.x86_64 0:0.3.0-4.el6_3
  neon.x86_64 0:0.29.3-2.el6
  openldap-devel.x86_64 0:2.4.23-32.el6_4
  pakchois.x86_64 0:0.4-3.2.el6
  perl-URI.noarch 0:1.40-2.el6

Dependency Updated:
  gnutls.x86_64 0:2.8.5-10.el6_4.1       openldap.x86_64 0:2.4.23-32.el6_4</pre>
<p>Finally, type the following command to enable SVN extension</p>
<pre># echo "extension=svn.so" &gt;&gt; /etc/php.ini</pre>
<p>To check SVN extension is loaded, type the following command</p>
<pre># php -i | grep -i svn</pre>
<p>Sample output</p>
<pre>svn support =&gt; enabled
svn client version =&gt; 1.6.11
svn extension version =&gt; 1.0.2</pre>
<g:plusone href="http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/">How To Install Subversion (SVN) Extension Working With PHP 5.3</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-install-subversion-svn-extension-working-with-php-5-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
