[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache, php, xml



On Thu, Sep 08, 2005 at 01:16:05AM -0500, David Berg wrote:
> I'm running PHP5 from http://people.debian.org/~dexter on sarge with
> apache 2.  Running a script which calls xml_parser_create() produces:
> 
> Fatal error: Call to undefined function xml_parser_create() in
> /var/www/po/photo.add.2.php on line 711
> 
> Am I missing a library or is the one that is installed the wrong
> version?  libxml2-dev and libxml (2.6.16-7) are installed and apache
> has been restarted since they were.

I am unfamiliar with those packages. What is the output of phpinfo();?
I'd presume that it would list something for the XML stuff it XML was
built-in. If not (the ./configure line listed doesn't include --with-xml
or something similar), you could grab the source for your php5 packages,
add the relevant bit to the configure line in $SRCDIR/debian/rules, then
run 'dpkg-buildpackage -rfakeroot' in $SRCDIR to build the package with
XML support.

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: