我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

php github webhook没有在服务器上执行

I am trying to push changes to server with github webhook, with the following php script:

<?php
    shell_exec("cd /var/www/repo.io/ && git pull");

?>

Push is detected on github, but no action is being triggered on server. Also, I got no permission or any other kind of error on the server. So, php script is not executed at all from the web. But when I am inside server, through CLI - it works. What can be the problem ?

Thanks

近期文章

  • 对每个参数使用相同的重写规则
  • 如何引用数组中的数据(php / json)
  • Cloud9 ide:如何在调试中运行php测试?
  • 如何解决Silex应用程序问题?
  • 通过循环创建一个多维数组!
  • 一些尝试后ajax状态被取消
  • PHP:保留新页面中的下拉字段
  • 无法直接保存数据传递[重复]
  • PHP设置$ GLOBALS产生空白结果
  • 如何从模态连接连接值
  • 如何在xampp上配置squirrelmail
  • PHP MySQL更新语句不起作用
  • 仅启用管理员以在Laravel中查看页面
  • PhraStorm中模型的Laravel注释
  • 来自锚点击的wp_update_post类别
  • 在PHP中堆叠多个三元运算符
  • PHP cURL请求之间的multi_exec延迟
  • 通过引用保存值时的内存使用情况
  • 将AD用户显示为HTML页面中的下拉列表
  • PHP分页MSSQL替代LIMIT?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华