欢迎来到云服务器

Directadmin Linux面板

mod_ssl:Init:无法生成临时的512位RSA私钥

这个错误有时会在使用MySQL 5和--with-mysql = / usr时出现。
有报告说,将其更改为--with-mysqli = / usr / bin / mysql_config可以解决这个问题,但是当我尝试它时,php中的mysql客户端api被设置为mysql 3,所以它不能正常工作。 我使用的解决方案是让它们都在configure.php中:

--with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config

然后重新编译php:

./build clean
./build php n

然后我编辑了/etc/httpd/conf/httpd.conf并更改了:

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
#SSLRandomSeed startup file:/dev/random  512
#SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random  512
#SSLRandomSeed connect file:/dev/urandom 512

改成:

#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin
#SSLRandomSeed startup file:/dev/random  512
SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random  512
SSLRandomSeed connect file:/dev/urandom 512

很可能只有对httpd.conf的更改实际上是必需的,但添加mysqli的额外功能可能不会影响任何内容。

我也将MySQL升级到5.0.41(这是一个64位的服务器):
http://files.directadmin.com/services/all/mysql/64-bit/
腾讯云代理

Copyright © 2003-2021 MFISP.COM. 国外vps服务器租用 梦飞云服务器租用 版权所有 粤ICP备11019662号