Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2005 22:43:49 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        pavneet_arora@waroc.com
Cc:        freebsd-apache@freebsd.org
Subject:   Re: Having troubles with mod_php and expat
Message-ID:  <20050923204349.GA57682@goofy.cultdeadsheep.org>
In-Reply-To: <4333F09B.10106@waroc.com>
References:  <4333F09B.10106@waroc.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Sep 23, 2005 at 08:10:03AM -0400, Pavneet Arora wrote:
Hi,
> Forgive me for this naive problem, but I have been scouring the archives 
> and the net for some resonance that may point to a solution without success:
> 
> I recently upgraded my FreeBSD 5.1 system to a FreeBSD 5.4 system. 
> Along the way I used the port system to upgrade Perl (5.8.7), mod_perl 
> (mod_perl2-2.0.1,2), PHP (4.4.0), mod_php (mod_php4-4.4.0,1), Apache 
> (apache-2.0.54_4), expat (1.95.8_3), etc.
> 
> Both Perl and PHP are loaded in httpd.conf as modules
> 
> All of this was an effort to install the SugarCRM port, but this is 
> incidental.
> 
> The problem is quite simple...
> 
> From php, I am unable to access any of the XML functions.  So the 
> following script:
> 
> <html>
> <head><title>php test</title></head>
> <body>
> <?phpinfo() ?>
> <?
> if (function_exists('xml_parser_create')) {
>         echo '<b>OK</b>';
> }
> else {
>         echo '<b>Not Available</b>';
> }
> ?>
> </body>
> </html>
> 
> Yields "Not Available".  I only offer this snippet since this is the 
> test that SugarCRM tries on install and fails on.
> 
> Your guidance would be gratefully accepted.

did you install textproc/php4-xml entension?

clem

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFDNGkEsRhfjwcjuh0RAhjvAJsGzvMXCWC1fIPZ7Jxt1ET3q/hT8QCfQzWy
p1oKeQrVpZIUdR+Ps77e+E0=
=TNgE
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050923204349.GA57682>