Home > Backend Development > PHP Tutorial > linux php运行命令解决方案

linux php运行命令解决方案

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:39:04
Original
959 people have browsed it

linux php运行命令

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
<?php exec("svn update");

Copy after login


我想在linux上执行svn的update操作,但是发现不能执行.文件的权限777,所有人为ROOT用户

------解决方案--------------------
执行脚本的用户 不一定有权限执行svn命令,参考下面
http://koda.iteye.com/blog/1086240
另外可以尝试一下,php的svn库
------解决方案--------------------
php不是有svn,扩展吗。
http://www.php.net/manual/zh/book.svn.php
Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template