我是一个绝对初学者的拉拉框架,甚至网页开发。
我的PHP版本是5.6。在我的Amazon服务器上安装laravel框架有困难。
下面是我遇到的第一个错误。
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.2.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/fra
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.3.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/framework v5.3.8 requires ext-mbstring * -> the requested PHP extensio
当我输入"composer create-project laravel/laravel simple“从服务器加载simple-blog时,我会收到一个错误:
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.2.6
我是个新来的有拉拉和薄荷的。我就是不能把东西拿出来-发生什么事了。我需要一些像猴子一样的答案。所以,无论我接受什么问题,都非常感谢你的帮助。
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.4.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/
嘿,伙计们,我试图在我的项目中添加光照/数据库依赖,但我得到了一个错误。这就是我所做的和得到的
C:\wamp\www\xxxxxxxxxxxx>php composer.phar require illuminate/database
Using version ^5.1 for illuminate/database ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)
我正在尝试安装composer安装的laravel项目,但作为回报,它会给出以下错误。
Problem 1
- Installation request for laravel/framework v7.14.1 -> satisfiable by laravel/framework[v7.14.1].
- laravel/framework v7.14.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
我的本地机器上有媒体。我安装了php和php-mbstring。当我运行phpinfo()时,mbstring就会出现。我已经检查过我有mbstring.ini和mbstring.so,它们在我的机器上。
当我运行php maintenance/update.php时,会得到以下错误:
Error: Missing one or more required components of PHP.
You are missing a required extension to PHP that MediaWiki needs.
Please install:
* mbstring <htt
当我在我的CakePHP3项目中运行composer install时,我得到了下一个错误:
Problem 1
- Installation request for cakephp/cakephp 3.2.12 -> satisfiable by cakephp/cakephp[3.2.12].
- cakephp/cakephp 3.2.12 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
我从composer那里得到的错误消息是:您的需求无法解析为一组可安装的包。
Problem 1
- Installation request for laravel/framework v5.4.28 -> satisfiable by laravel/framework[v5.4.28].
- laravel/framework v5.4.28 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
我在工作时在windows上安装了开发人员模式,我在安装一些运行项目所需的程序/功能时遇到了很多问题。其中一个问题是,当我运行composer install或composer install --no-plugins --no-scripts时,它总是给我这个错误。
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to
我得到了错误
Call to undefined function FOS\UserBundle\Util\mb_convert_case() app_path/vendor/bundles/FOS/UserBundle/Util/Canonicalizer.php on line 18
当我试图加载装置时,就会发生这种情况。
第一步是安装php ext,所以我用以下命令编译了mbstring.so
--enable-mbstring
比成功复制的mbstring ext
phpize
./configure
make
make install
并添加了
extension=mbstring.
我的项目在本地主机上运行良好,但不在网上工作,这是一个错误:
Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strlen() in /home/stram/public_html/vendor/symfony/polyfill-mbstring/Mbstring.php on line 338
我搜索了它,发现我需要安装PHP iconv。我使用VPS的问题,当我进入可用PHP扩展列表时,我没有找到这个扩展!
提前通知。
当我运行命令时
php -v
这个错误出现在ubuntu终端中:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_mbstring.dll' - /usr/lib/php/20151012/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0
每当我尝试输入我的phpMyAdmin时,都会出现这样的错误:
The mbstring extension is missing. Please check your PHP configuration.
我已经搜索了解决方案,并在我的php.ini文件中添加了extension=php_mbstring.dll。但还是不能修复它。
我正在使用Ubuntu14.04,我正在尝试安装PHP 7,我做错了一些事情。I 遵循这些方向。
如果我在终端中键入'php -v‘,它将显示php 7。
但是,如果我查看我的phpinfo(),输出仍然会显示我原来的php 5。
现在,当我试图安装一些需要php 7的东西时,我会得到以下错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for alchemy/zipp
我使用以下命令将PHP 7.0升级为7.1:
1. sudo add-apt-repository ppa:ondrej/php
2. sudo apt-get update
3. sudo apt-get install php7.1
并从laravel.com运行此命令
composer create-project --prefer-dist laravel/laravel blog
运行此代码后,得到以下错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
-
我在PHP7.2中使用,在运行PHP页面时,我得到了这个错误。
致命错误:未定义错误:调用未定义函数mb_detect_encoding()
当我试图通过图形用户界面启用mbstring php模块(和其他模块)时,我会得到以下内容。
因此,当我手动执行时,我的php_production.ini看起来是这样的。我已经使用Uniform来选择该php设置文件。
extension=gd2
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=m
有人在Ubuntu 16.04上安装了laravel 5吗?我刚刚切换到Ubuntu16.04,我正在尝试使用composer在其上安装laravel 5框架。但是每次我尝试创建一个项目,它都会给我带来这个错误
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/laravel v5.2.0 requires laravel/framework 5.2.* -> satisfiable by laravel/framework[v5.2.