您好,登錄后才能下訂單哦!
程序如下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>
如果出現(xiàn)如下錯(cuò)誤,提示
1、[15-Jan-2014 10:47:47] WARNING: [pool www] child 30635 said into stderr: "svn: Can't make directory 'application/config': Permission denied"
①表示當(dāng)前php執(zhí)行所在目錄權(quán)限不足,可以授予777權(quán)限
2、認(rèn)證錯(cuò)誤,解決方法,添加--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)? "
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。