Home >php教程 >php手册 >PHP执行SVN更新

PHP执行SVN更新

WBOY
WBOYOriginal
2016-06-07 11:35:171481browse

PHP执行SVN更新 .可以做部署用。
error_reporting(E_ALL);<br> $handle = popen(' LANG=en_US.UTF-8 svn update  --username dev-lin --password teste123  --config-dir /home/wwwroot/.subversion  /home/wwwroot/yiiu/ 2>&1','r');<br> echo "'$handle'; " . gettype($handle) . "\n";<br> $read = fread($handle, 2096);<br> echo $read;<br> pclose($handle);

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn