Problem 1 - phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
//First of all, read the warning! It says do not run composer as root! Secondly, you're probably using Xammp on your local which has the required php libraries as default.
// But in your server you're missing ext-dom. php-xml has all the related packages you need. So, you can simply install it by running:
sudo apt-get update
sudo apt install php-xml
//Most likely you are missing mbstring too. If you get the error, install this package as well with:
sudo apt-get install php-mbstring
//Then run:
composer update
composer require cviebrock/eloquent-sluggable
Also in PHP:
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
- don't show warnings php
- Fatal error: Allowed memory size composer
- codeigniter 4 redirect to home
- Call to a member function delete() on null laravel 8
- create project with laravel
- DB::connection() for php
- check website ssl certificate using php openssl_x509_parse
- count duplicate in array and delete using php
- cappitalize string in php
- check if php array key exists
- day of the week th usig php
- acf form update post
- carbon check sunday
- detect keyword of php string
- None of the supported PHP extensions (PgSQL, PDO_PgSQL) are available.
- cache store laravel
- android studio clear cache
- in array php
- check if front page wordpress
- install php 7.4 extensions
- array index exists php
- $tmpmembershipfee = MembershipFee::orderBy('created_at','DESC') ->first();
- crrate model in laravel