Skip to content
Advertisement

localhost phpMyAdmin wont open because I deleted composer folder inside it

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?

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement