[英]Phalcon: server not reachable through ip after installation
I tried to install Phalcon on CentOS 6.5. 我试图在CentOS 6.5上安装Phalcon。 This is what I did: 这是我所做的:
Before I rebooted the server, "Apache is functioning normally" was displayed when I typed the IP address in my browser. 在重新启动服务器之前,当我在浏览器中键入IP地址时,会显示“ Apache正常运行”。 Now when I got there, I get a browser message about being unable to establish a connection. 现在,当我到达那里时,我收到了一条关于无法建立连接的浏览器消息。 When I type :2222 after the ip address, I can get access to directadmin. 当我在IP地址之后输入:2222时,我可以访问directadmin。
What did I do wrong? 我做错了什么? (this is the second time I tried to reinstall it completely...) (这是我第二次尝试完全重新安装它...)
Thank you very much 非常感谢你
Phalcon should be loaded after all other PHP extensions are loaded. 在所有其他PHP扩展加载之后,应加载Phalcon。 This has to do with the patches used by CentOS: they change the way the extensions are loaded into PHP. 这与CentOS所使用的补丁程序有关:它们改变了扩展加载到PHP的方式。
I would remove extension=phalcon.so
from php.ini and create /etc/php.d/zz-phalcon.ini
with 我将从php.ini中删除extension=phalcon.so
并使用/etc/php.d/zz-phalcon.ini
创建/etc/php.d/zz-phalcon.ini
extension=phalcon.so
and restart the web server. 并重新启动Web服务器。
EDIT : I explained this in details in the official forum . 编辑 :我在官方论坛上详细解释了这一点。
使用DirectAdmin时,您无法正确安装Phalcon。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.