I use a package to generor the rss feed, but it show the message as below.
Warning: require_once(class.DomDocument.inc.php) [function.require-once]: failed to open stream: No such file or directory in…
The it will show me the fatal erro, It could not load file ‘class.DomDocument.inc.php’.
But the file does not include in the package.
And I could run these file in another server, so I guest the question made from a addon of php.
I modify the code to get the debug message:
class.RSSItemList.inc.php
class.ObjectList.inc.php
class.RSSItem.inc.php
class.RSS_V_200.inc.php
class.RSS_V_abstract.inc.php
class.DomDocument.inc.php <—-it does not include this file in the package.
I research the data in the google, someone says that , it need the libxml2 library.
But in the default ver. of apache in the linux platform, it include already.
And I research the others file about the XML and DOM.
Finaly, I got the answer, It need php-domxml addon.
Just install it through yum, and don’t forget restart apache.
Let the apache reload the php.ini , and it will load the addon for php.
command as below.
yum install php-domxml
service httpd restart
隨機文章
- 澳盛銀行信用卡網站,設計的真爛 (2013-03-13)
- GPhone呼之欲出!Google研發中品牌手機傳在台灣設計-將提供比目前手機功能更強大的網路瀏覽器 (2007-11-06)
- 欠電的網樂通 退機要退多久才要來收走啊? (2012-07-11)
- PS. I Love You影評 (2008-02-12)
- 一個 SQL Injection 考倒的面試者 與看圖說故事的面試者 (2013-10-11)