header("Cache-Control:no-cache,must-revalidate");$handle = popen('svnserve --version','r'); $read = stream_get_contents($handle);echo "<pre class="brush:php;toolbar:false;">";printf($read);echo "$handle = popen('svn up /www/web01 --username xxx --password xxx', 'r');svn up /www/web01 --username xxx --password xxx
在执行查看版本号的时候没问题,但是在更新的时候就出现了问题。是更新的时候需要权限吗?
权限问题
php程序执行是www服务器的权限和环境变量
环境变量,权限,仔细检查下就ok 大神,给我的答案。
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号