您好,登錄后才能下訂單哦!
程序如下php_svn.php
<pre>
<?php
system("/usr/bin/svn co --username xx --password xx --no-auth-cache http://test.domain.com/application/config/ application/config/");
?>
</pre>
如果出現如下錯誤,提示
1、[15-Jan-2014 10:47:47] WARNING: [pool www] child 30635 said into stderr: "svn: Can't make directory 'application/config': Permission denied"
①表示當前php執行所在目錄權限不足,可以授予777權限
2、認證錯誤,解決方法,添加--no-auth-cache
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: ""
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "can only be stored to disk unencrypted! You are advised to configure"
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "your system so that Subversion can store passwords encrypted, if"
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "possible. See the documentation for details."
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: ""
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "You can avoid future appearances of this warning by setting the value"
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "of the 'store-plaintext-passwords' option to either 'yes' or 'no' in"
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "'/.subversion/servers'."
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "-----------------------------------------------------------------------"
[15-Jan-2014 11:15:43] WARNING: [pool www] child 30634 said into stderr: "Store password unencrypted (yes/no)? "
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。