PHP提示 Fatal error: Class 'DOMD…
2017-06-12 16:54
232 查看
How to fix PHP Fatal error: Class |
error: Class 'DOMDocument' not found in
/var/www/html/index.php on line 171 or similar error?
NOTE: Received this error on a Centos
5 environment while trying to run a PHP
script that makes use of the DOMDocument class
Answer:
In the CLI (Command
Line Interface) run the following command
view sourceprint?
1.
yum
install
php-xml
This will install XML support and will solve the
DOMDocument issue
相关文章推荐
- PHP启用COM服务及PHP Fatal error: Class 'com' not found in ... 的处理办法
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- PHP:Fatal error: Class 'COM' not found in … 的处理办法
- 【转载】PHP中超时提示Fatal error: Maximum execution time of 30 seconds exceeded的解决方案
- Zend Server提示Error: Could not locate a free PHP process from the "application/x-httpd-php" pool within the 'Connection Timeout'.
- php读取excel中文乱码 excel_class…
- SQL Error (1130): Host '192.168.…
- Error (10028): Can't resol…
- class 'org.springframe…
- Fatal error: Class 'ZipArchive' not found的解决办法
- Fatal error: Class 'PEAR_Error' not found in
- PHP提示Fatal error: Allowed memory size of 8388608 bytes exhausted的解决办法
- Fatal error: Unknown: Failed opening required 'c:/wamp/www/view.php' (include_path='.
- mysql 登录出现提示:ERROR 1045 (…
- 关于error inflating class
- <b>Fatal error</b>: Class 'SoapClient' not found in <b>
- Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in
- Fengoffice installation with fatal error "Class 'DB' not found"
- error&nbsp;C2065:&nbsp;&#039;priority_queue&#039;&nbsp;:&nbsp;…