Install Subversion PECL extension on Windows

572 views Asked by At

I am creating a SVN repository system using PHP. I have Windows OS and i find it difficult to set environment on my PC. I have google and came to know that i need php_svn.dll something like that.

But I don't know how to get it work. I have also looked into php manual but still did not find proper solution. so can anyone please provide me step by step solution to do this. The first function I am going to execute in 'svn_repos_create(name)'. I have already executed this function directly but it is giving me error:

"Fatal error: Call to undefined function svn_repos_create() in C:\wamp64\www\ashish\practice\create.php"

So please guide me how to make it workable.

3

There are 3 answers

1
M84 On

You can try with Tortoise SVN. have a lot of tools that you can use, and is easy to configure...

You'll need create a Repository, make a Checkout in some work directory, and then add your projects files to Commit it.

Links:

Example of TortoiseSVN with xampp

TortoiseSVN page

hope this help!

0
ashish zarekar On

Solution i have downloaded old php with php_svn.dll you can google it. and then i have downgrade my wamp with old php. and done. pretty easy.

1
ashish zarekar On

so it is not possible to do with 5.6,7.0,7.1 version. you can do it with older version only. so i have changed my os to UBUNTU. i am using php5.6 and it is working perfectly. if you want to work on SVN and PHP then you should be on LINUX OS.