我正在尝试向Zend添加一个安全站点。
当我访问Zend服务器站点时http://my_IP:10081我可以看到,在服务器扩展下,"openssl内置,打开"。
当我将SSLEngine On添加到httpd.conf时,我得到。。。
Invalid command 'SSLEngine', perhaps misspelled or defined
by a module not included in the server configuration
漏掉这一行。。。。
Invalid command 'SSLCertificateChainFile', perhaps misspelled or defined by
a module not included in the server configuration.
Zend网站的附录F显示
Uncomment the following line...
Include conf/extra/httpd-ssl.conf
但这一行不在我的conf文件中,也没有指明路径。
目录/usr/lib64/httpd/modules中没有名为mod_ssl.so或类似文件。
这是Red Hat 上的Zend 5.5
PHP版本5.3.8-ZS5.5.0Zend Framework 1.11.10版
我的经理说这是一个相当标准的安装。任何帮助都会很棒。谢谢
服务器上安装的SSL模块可能未启用。尝试:sudo a2enmod ssl
编辑:Nvm,我想我跳过了你说你在用RedHat的部分。我不相信在RedHat中有一个20岁的同龄人。
RedHat通常在httpd.conf
中包含这些内容,您可以在其中找到以下行:
Include conf.d/*.conf
这应该对应于位于/etc/httpd/conf.d
目录中的ssl配置文件。检查以确保有这样一个文件,以及它是否已在httpd.conf
中配置。