CentOS 7上MySQL 5.7.18莫名其妙Crash原因分析及解决

一、Centos中查看nginx、apache、php、mysql配置文件路径

1、判断apache
首先执行命令找到httpd路径
ps aux | grep httpd
如httpd路径为 /usr/local/apache/bin/httpd
然后执行以下命令
/usr/local/apache/bin/httpd -V | grep “SERVER_CONFIG_FILE”
即可找到编译时加载的配置文件路径 httpd.conf
-V 参数可以看到编译时配置的参数

继续阅读“CentOS 7上MySQL 5.7.18莫名其妙Crash原因分析及解决”

除IE和EDGE外,Chrome Firefox 和 iOS系统不再信任StartSSL提供的免费证书……

来自StartSSL官方的回复如下:

SSL Certificates issued after 21.10.2016 are distrusted in Chrome 56+, Firefox 51+,safari and latest version of IOS system. All certificates are distrusted in chrome 57. Official document about distrust > https://blog.mozilla.org/security/2016/10/24/distrusting-new-wosign-and-startcom-certificates/
     We are working hard on remediation plan (https://bugzilla.mozilla.org/show_bug.cgi?id=1311832), and we are doing everything to regain trust ASAP.
We create new root certificate now, You need to wait the root certificate audit by the main browser so it can be trusted in the main browser,it will take several months.
As an interim solution, if you pass the class 3 validation or EV validation(with full payment) you can get 1 trusted certificate(issued by Camerfirma)  that can be trusted in all browser.

mysql_connect(): Headers and client library minor version mismatch. Headers:

mysql_connect(): Headers and client library minor version mismatch. Headers:这样的错误是由于高版本的MySQL,低版本的MySQL Client API引起的,我在CentOS 7上安装MySQL-Server的时候出现了这个错误,解决办法:

卸载PHP-mysql

  1. yum remove phpmysql y

安装php-mysqlnd

  1. yum install phpmysqlnd y     ->    yum install php70w-mysqlnd -y

重启httpd

  1. systemctl restart httpd.service
php7版本需要安装php70w-mysqlnd,而不是php-mysqlnd