note 57302 deleted from ref.dom by didou

From: Date: Mon, 17 Apr 2006 12:28:25 +0000
Subject: note 57302 deleted from ref.dom by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108321@lists.php.net to get a copy of this message
Note Submitter: dariusz <at> grabka <dawt> org ---- For those getting the following error with PHP 5.0.x: Class 'DOMDocument' not found ... please check that the DOM extension has actually been installed. Based on the documentation, it seems like the DOM extension should be present defacto, but it wasn't part of my FreeBSD mod_php5 build. The fix in FreeBSD 4.10+: > cd /usr/ports/lang/php5-extensions > make config ... select DOM, XML, and anything else your heart desires such as FTP and IMAP.. > make > make install > cd /usr/ports/www/mod_php5 > make > make install > vi /usr/local/etc/apache/httpd.conf ... remove all instances of *_php4* (otherwise, php5 may not load) > apachectl restart enjoy.

« previous php.notes (#108321) next »