ext-dom install php 7.4
//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-sluggablesudo apt-get install php-xml
Also in PHP:
- How do you clear cache in Laravel?
- divisible by 2 php output numbers
- artisan db:seed
- Customer::insert([ 'customer_name' => $request->customer name, 'customer mobile'=> $request->customer mobile, 'user_id'=>Auth::user()->id, 'created_at'=> Carbon::now() ]);
- 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php
- date("Y-m-d",
- error messaging php
- convert unix timestamp to datetime php twig
- delete cache file laravel
- @ in php to supress error in php
- find a substring in string php
- ata date format in php
- Call to undefined function str_limit() laaravel8
- @lang laravel blade
- exclude php
- failed to open stream: no such file or directory php
- does array have key php
- check array has key php
- Difference between echo and print statement in php
- create migration table in php
- clear all cache in laravel 7
- redirect php file
- attach multiple files in laravel mailable
- array_reverse in php example