Subject: Re: php4 help
To: Homer Sipes <sipes@linuxmail.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 06/25/2002 09:39:00
On Wed, 26 Jun 2002, Homer Sipes wrote:

> Hi, i installed ap-php4, php4 pcre-3.7 and php4-pcre modules and put the
> lines in my /usr/pkg/etc/php.ini file and my httpd.conf which it told
> me, restarted apache and my php isnt working. it says the document
> contained no data. in my error_log of apache, i get:
> [Tue Jun 25 12:16:15 2002] [error] PHP Warning:  Undefined variable:
> template in /usr/pkg/share/httpd/htdocs/phpSysInfo-2.1/index.php on line
> 56
> [Tue Jun 25 12:16:30 2002] [error] PHP Fatal error:  Call to undefined
> function:  xml_parser_create() in
> /usr/pkg/share/httpd/htdocs/phpSysInfo-2.1/includes/XPath.class.php on
> line 1410

It looks like php is working (because php is giving you the above log
messages).

xml_parser_create() is not part of default php. If you need XML, then
install the php4-xml package (or maybe the php4-domxml package).

   Jeremy C. Reed
   http://www.reedmedia.net/