Linux

How to remove node_modules in git

You may accidentally add the node_modules or you forgot to add the node_modules directory to .gitignore list, no worry, you may remove it after you pushed to the git. First, add the node_modules in to the .gitignore After added the /node_modules and save it.

File ./vendor/autoload.php missing or not readable. in centminmod phpMyAdmin

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 …

File ./vendor/autoload.php missing or not readable. in centminmod phpMyAdmin Read More »

ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5)

You may found this error from your php-fpm and the php-fpm crash [code lang=”shell”] tail /var/log/php-fpm/error.log [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5) [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 17777: Input/output error (5) [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 18886: Input/output error (5) [15-May-2016 12:25:53] ERROR: failed to ptrace(PEEKDATA) …

ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5) Read More »