Last updated on April 29th, 2017 at 07:31 pm
After installed the phpMyAdmin in centminmod, I saw this error message.
File ./vendor/autoload.php missing or not readable.
Most likely you did not run Composer to install library files.
I like to fix it manually and access to my server shell and run these command.
[code lang=”shell”]
cd /usr/local/nginx/html/1111_mysqladmin12345
git pull
rm -rf composer.phar
wget -cnv https://getcomposer.org/composer.phar -O composer.phar
php composer.phar update –no-dev
[/code]
To make sure every time update phpmyadmin and update the composer too, you should modify the file
/root/tools/phpmyadmin_update.sh
and add in these lines.
[code lang=”shell”]
git pull
rm -rf composer.phar
wget -cnv https://getcomposer.org/composer.phar -O composer.phar
php composer.phar update –no-dev
[/code]