在Localhost上,XML正在生成,但在Server中它';s正在创建空Xml


On Localhost XML is Generating but in Server it's creating Empty Xml

我使用"xsl"生成所需格式的xml,它在本地主机中生成良好的xml,但如果我们使用服务器生成xml,它将显示空页面。

通过Putty或SSH命令连接到您的Amazon服务器。

通过以下命令获取超级用户的权限

sudo -su root

通过以下三个命令安装php5-xsl包

sudo apt-get install php5-xsl
sudo php5enmod xsl
sudo service apache2 restart

我希望这对你有帮助。

感谢