cancel
Showing results for 
Search instead for 
Did you mean: 

Magento installing issue

Magento installing issue

 Hi all,

 

 

I need help installing Magento  here is the issue what i am facing given below.

 

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\Magento2\vendor\composer/../phpstan/phpstan/bootstrap.php' (include_path='C:\xampp\htdocs\Magento2\vendor/magento/zendframework1/library;C:\xampp\php\PEAR') in C:\xampp\htdocs\Magento2\vendor\composer\autoload_real.php on line 73

 

Need attention here team.

4 REPLIES 4

Re: Magento installing issue

@sanju13july 

You can follow the below steps:

 
 
or
If it's not possible with composer installation then install using following commands:
composer install
if comooser is install
composer self-update
Then run the below command as well:
composer dump-autoload
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Magento installing issue

C:\wamp64\www\magento2>composer update
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2:Smiley SurprisednPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- web-token/jwt-framework[v2.2.7, ..., v2.2.11] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
- magento/product-community-edition 2.4.3-p1 requires web-token/jwt-framework ^v2.2.7 -> satisfiable by web-token/jwt-framework[v2.2.7, ..., v2.2.11].
- Root composer.json requires magento/product-community-edition 2.4.3-p1 -> satisfiable by magento/product-community-edition[2.4.3-p1].

To enable extensions, verify that they are enabled in your .ini files:
- C:\wamp64\bin\php\php7.4.26\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

 

 

 

These are the above error which are reflecting on screen < pls suggest next action item >

 

 

 

 

 

 

 

 

 

Re: Magento installing issue

@Sanjay Jethva 

 

[Progress: 1 / 1462]
Required extensions check...

In Installer.line 546:

Spoiler
Spoiler
Missing following extensions: 'sodium
how to get rid of this error ?

Sodium Error.JPG

 

 

 

 

Re: Magento installing issue

@sanju13july 

You can apply the below solutions
1. open php.ini file from your xampp/php/ and remove semicolon(Smiley Wink from sodium
or
2. You can pass the below commands:
sudo apt-get install php-sodium
sudo apache restart
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.