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
隨機文章
- 搞笑VPS,別逗了好嗎? (2017-02-22)
- debian 10 X-Window to Text Mode (2020-08-26)
- 拍賣上買到超便宜的羅技 Logitech M330 無線滑鼠 Silent Plus 無線 靜音滑鼠 (2022-08-26)
- 搶到囉!美國Dirt Devil Infinity 永不衰弱吸塵器VS8 LOOP (2011-06-03)
- 受保護的內容: 奇樂再度公開照片~陳冠希照片的黑手 (2008-02-19)

![[ChatGPT] 4o的圖片視覺測試](https://chihping.aflypen.com/wp-content/uploads/2024/09/eye-4367141_640-300x200.jpg)


![[chatGPT 測試] 剪映 文字成片 VS. Wondershare Filmora 13 AI 文字轉影片](https://chihping.aflypen.com/wp-content/uploads/2023/12/剪映_音樂-137x300.png)

![[chatGPT 測試] DSM 7 有什麼特色](https://chihping.aflypen.com/wp-content/uploads/2023/03/usb-ga13f61ece_1280-300x221.jpg)

