PHP.ini文件更改未生效

时间:2016-03-02 09:56:43

标签: php web

我的网站收到错误:

Fatal error: Class 'XSLTProcessor' not found

我通过取消注释该行来修复我在本地主机(XAMP)上的内容:

extension=php_xsl.dll

这适用于localhost。现在我已将网站放到带有GoDaddy的Linux服务器上,我得到了同样的错误。

我已将来自localhost的相同php.ini文件放入根服务器并运行phpInfo,这确认了加载配置文件来自正确的php.ini。

所以我知道我的php.ini设置是正确的,我知道网站正在加载正确的php.ini - 为什么它仍然无法正常工作?

1 个答案:

答案 0 :(得分:-1)

You can add extensions the "php version" tab in the c panel. It's not very clear that it's there but it works. I found this out by calling them.

相关问题