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

PHP执行SVN更新

WBOY
Release: 2016-06-07 11:35:17
Original
1476 people have browsed it

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元

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template