Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spatial/sitemap不会安装在godaddy服务器上的laravel8中_Laravel_Laravel 8_Sitemap.xml - Fatal编程技术网

Spatial/sitemap不会安装在godaddy服务器上的laravel8中

Spatial/sitemap不会安装在godaddy服务器上的laravel8中,laravel,laravel-8,sitemap.xml,Laravel,Laravel 8,Sitemap.xml,我已经在拉雷维尔8电子商务网站。我正在尝试使用Spatiale/sitemap包生成sitemap.xml。 但是它没有安装在我的godaddy主机中 错误如下: ****Using version ^5.8 for spatie/laravel-sitemap ./composer.json has been updated Running composer update spatie/laravel-sitemap Loading composer repositories with pac

我已经在拉雷维尔8电子商务网站。我正在尝试使用Spatiale/sitemap包生成sitemap.xml。 但是它没有安装在我的godaddy主机中

错误如下:

****Using version ^5.8 for spatie/laravel-sitemap
./composer.json has been updated
Running composer update spatie/laravel-sitemap
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - spatie/browsershot[3.33.1, ..., 3.40.2] require spatie/image ^1.5.3 -> satisfiable by spatie/image[1.5.3, ..., 1.10.2].
    - spatie/crawler[4.1.0, ..., 4.6.5] require guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
    - spatie/laravel-sitemap[5.9.0, ..., 5.9.2] require php ^7.4|^8.0 -> your php version (7.3.27) does not satisfy that requirement.
    - spatie/browsershot[3.40.3, ..., 3.44.0] require php ^7.4|^8.0 -> your php version (7.3.27) does not satisfy that requirement.
    - spatie/image[1.5.3, ..., 1.10.2] require ext-exif * -> it is missing from your system. Install or enable PHP's exif extension.
    - spatie/browsershot[3.14.0, ..., 3.16.0] require symfony/process ^3.0 -> found symfony/process[v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v5.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - spatie/browsershot[3.16.1, ..., 3.26.0] require symfony/process ^3.0|^4.0 -> found symfony/process[v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - spatie/browsershot[3.26.1, ..., 3.33.0] require symfony/process ^4.2 -> found symfony/process[v4.2.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - spatie/laravel-sitemap 5.8.0 requires spatie/crawler ^4.1.0 -> satisfiable by spatie/crawler[4.1.0, ..., v4.x-dev].
    - spatie/crawler[4.6.6, ..., v4.x-dev] require spatie/browsershot ^3.14 -> satisfiable by spatie/browsershot[3.14.0, ..., 3.44.0].
    - Root composer.json requires spatie/laravel-sitemap ^5.8 -> satisfiable by spatie/laravel-sitemap[5.8.0, 5.9.0, 5.9.1, 5.9.2].
To enable extensions, verify that they are enabled in your .ini files:
    - /opt/cpanel/ea-php73/root/etc/php.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-bcmath.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-calendar.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-ctype.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-curl.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-dom.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-fileinfo.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-ftp.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-gd.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-iconv.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-imap.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-intl.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-json.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-mbstring.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-mysqlnd.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-pdo.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-phar.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-posix.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-simplexml.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-sockets.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-sqlite3.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-tokenizer.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-xml.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-xmlwriter.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/20-xsl.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/30-mysqli.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/30-pdo_mysql.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/30-pdo_sqlite.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/30-wddx.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/30-xmlreader.ini
    - /opt/cpanel/ea-php73/root/etc/php.d/zzzzzzz-pecl.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.****
有人能帮我吗1.我正在努力完成这件事。
谢谢你

我弄明白了问题所在,以防其他人陷入困境

  • 您必须具有php 7.4或更高版本
  • 安装PHP扩展
  • 这两件事都解决了我的问题