skip to Main Content

I am new to php and usage of composer in php. I am using windows 10.

While trying to delete previous installation of composer I think I have mistakenly deleted the composer folder inside phpMyAdmin. Now I am getting the below error while trying to access http://localhost/phpmyadmin/ :

Warning: require_once(C:xamppphpMyAdminvendor/composer/autoload_real.php): failed to open stream: No such file or directory in C:xamppphpMyAdminvendorautoload.php on line 5

Fatal error: require_once(): Failed opening required ‘C:xamppphpMyAdminvendor/composer/autoload_real.php’ (include_path=’C:xamppphpPEAR’) in C:xamppphpMyAdminvendorautoload.php on line 5

was there supposed to be a composer folder inside phpMyAdmin by default? Did I delete something that was used by mysql?

How do I solve it?

2

Answers


  1. The vendor folder is required yes. If there’s a composer.json file present in your phpmyadmin folder you can run composer install to fetch all dependencies into the vendor folder.

    Login or Signup to reply.
  2. Go To xampp>phpMyAdmin first then run "composer install" on your git bash or any other terminal.I hope it will work

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search