我在Windows (GIT)中使用Laravel 4开发了一个项目。
我有一个运行centOS的服务器。因此,我将存储库克隆到此服务器。因为它只有512M的服务器,所以如果我运行"composer update“,它会杀死这个进程,因为它消耗了所有的内存。您可能会得到过时的依赖项。运行update来更新它们。无法将您的需求解析为一组可安装的程序包。
Problem 1
- Installation request for patchwork/utf8 v1.1.17 -> satisfiable by patchwork/utf8[v1.1.17].
- patchwork/utf8 v1.1.17 requires lib-pcre >=7.9 -> the requested linked library pcre has the wrong version installed or is missing from your system, make sure to have the extension providing it.
Problem 2
- patchwork/utf8 v1.1.17 requires lib-pcre >=7.9 -> the requested linked library pcre has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- laravel/framework 4.0.x-dev requires patchwork/utf8 1.1.* -> satisfiable by patchwork/utf8[v1.1.17].
- Installation request for laravel/framework 4.0.x-dev -> satisfiable by laravel/framework[4.0.x-dev].我修复了这个问题,在一台基于linux的计算机上拉取repo,更新composer并重新推送它。这样,我在服务器上就不会有问题了。
我想知道是否有解决方案,这样我就可以继续使用Windows进行开发。
发布于 2014-01-08 23:11:03
你必须在你的CentOS上更新库pcre。这条消息告诉您:
requires lib-pcre >=7.9这是系统库,不是作曲库。PCRE现在是8.*,patchwork至少需要7.9,并且您的系统必须有以前的版本。
看看这个页面,看看关于它的一些信息:http://rpm.pbone.net/index.php3/stat/4/idpl/17932519/dir/centos_other/com/pcre-8.12-1.x86_64.rpm.html。
我不是CentOS专家,但我认为您可以通过执行以下操作来更新它:
yum update或
yum update <package name>如果你不知道正确的名字
yum list installedhttps://stackoverflow.com/questions/20999187
复制相似问题