2014-11-20 14:45
浏览 161


I'm not allowed to install Composer on my server at work. Bureaucracy! Also, it's not connected to the internet. It's a company intranet server and I'm not a sys admin for it.

Am I going to experience high levels of difficulty installing and running Laravel without Composer? Should I use another Framework?

I'm quite a basic PHP programmer without too much command line experience to be honest. I'm used to having everything I need for a project contained in one directory - like CodeIgniter for example.

This article is suggesting that there are quite a few required dependencies. Will my Laravel project just fail to run properly without them?

-- UPDATE --

If by chance, there is a way to do it without Composer, then please tell me how I can do this. I downloaded the source files for Laravel from GitHub (like you would do with CodeIgniter) but I get errors when I try and view it on a browser;

Warning: require(/var/www/html/test/laravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/test/laravel/bootstrap/autoload.php on line 17

Fatal error: require(): Failed opening required '/var/www/html/test/laravel/bootstrap/../vendor/autoload.php' (include_path='.:/php/includes:/var/www/html/php/includes:/jpa/release/jpa/includes:/usr/share/pear:/usr/share/php/phpmailer:/apache/htdocs/applications/surveys/Includes:/var/lib/ZF1/library') in /var/www/html/test/laravel/bootstrap/autoload.php on line 17

图片转代码服务由CSDN问答提供 功能建议

我不允许在我的服务器上安装Composer。 官僚! 此外,它没有连接到互联网。 它是一个公司内部网服务器,我不是它的系统管理员。

我是否会遇到安装和运行没有Composer的Laravel的高难度? 我应该使用另一个框架吗?

我是一个基本的PHP程序员,没有太多的命令行经验,说实话。 我习惯拥有一个目录中包含的项目所需的一切 - 例如CodeIgniter。

本文表明存在相当多的必需依赖项。 如果没有它们,我的Laravel项目是否会无法正常运行?

- 更新 -

如果偶然的话,有办法做到这一点 没有作曲家,请告诉我如何做到这一点。 我从GitHub下载了Laravel的源文件(就像你使用CodeIgniter一样)但是当我尝试在浏览器上查看它时出现错误;

 警告:require(/  var / www / html / test / laravel / bootstrap /../ vendor / autoload.php):无法打开流:/var/www/html/test/laravel/bootstrap/autoload.php上没有这样的文件或目录 第17行
发生错误:require():打开所需的'/var/www/html/test/laravel/bootstrap/../vendor/autoload.php'(include_path ='。:/ php / includes:/ 无功/网络/ HTML / PHP /包括:/ JPA /发行/ JPA /包括:在/ usr /共享/梨:在/ usr /共享/ PHP / PHPMailer的:/阿帕奇/ htdocs中/应用/调查/包括:在/ var / lib中 / ZF1 / library')在第17行的/var/www/html/test/laravel/bootstrap/autoload.php 
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题