简体   繁体   中英

Install Subversion PECL extension on Windows

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.

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!

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM