All Archives

Forbidden You don’t have permission to access `phpmyadmin` on this server

I face the same issue with apache 2.4 and fix this issue after configuring Require all granted. Below is my phpmyadmin.conf file example Edit file phpMyAdmin.conf vim /etc/httpd/conf.d/phpMyAdmin.conf And replace this at

Read More

cannot connect mysql server via SSH tunnel — Connection refused

Follow the below command : ssh -L 10080:127.0.0.1:80 -L 10006:127.0.0.1:3306 [email protected] There are: 127.0.0.1 – ip-address tunnel’s destination to connect from server, 80 and 3306 destination ports, 10080 and 10006 – local

Read More

How to edit my.cnf for query optimization?

You can execute the below command to list all directories where MySQL looks for my.cnf file: mysql –help |grep my.cnf You will get some output like below: /etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf Or if

Read More

MySQL process using too much CPU

Is this server is visible to the outside world? It’s worth checking if it’s having lots of requests to connect from the outside world also check the mysql process list for query.

Read More

sendmail dh key too small error

You will need to generate new DH keys file like below: # cd /etc/pki/tls/certs # openssl dhparam -out dhparams.pem 2048 and edit your sendmail.mc file like below: define(`confDH_PARAMETERS',`/etc/pki/tls/certs/dhparams.pem')dnl Now update sendmail.cf and

Read More

Uncaught exception ‘StripeErrorAuthentication’ with message ‘Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later

Hi Asif, I have given the answer for this question your as same as below asked questions. You can follow the link to get answer I this will help you to fix

Read More

TLS 1.0 has been disabled

Hi, Amit. You I think you are using old openssl version on your system. you will need to update your openssl version following below links.. http://www.looklinux.com/how-to-upgrade-openssl-on-rhel-and-centos-operating-systems/ Or If you are using CentOS

Read More

sslv3 alert handshake failure in sendmail

I found the below solution to fix this issue.   # openssl dhparam -out /etc/pki/tls/certs/dhparams.pem 1024   Add to /etc/mail/sendmail.mc file.   LOCAL_CONFIG O CipherList=HIGH:!ADH O DHParameters=/etc/pki/tls/certs/dhparams.pem O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE O

Read More

Nginx 502 bad gateway error

Hellow Fazil, It is difficult to find 502 bad gateway error with less information, Please provide more info for clearance. My be your nginx and php-fpm setting is not correct.

Read More

Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file

I think libphp5.so is not available on the modules path may be you have installed php version on different location check php installed directory location and change accordingly. After that restart httpd

Read More