Re: enabling domdocument
| From: | Michael Shadle | Date: | Mon, 19 Jul 2010 14:30:31 +0000 |
| Subject: | Re: enabling domdocument | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307002@lists.php.net to get a copy of this message | ||
Makes sense. Core would be more stripped down if it has modules available as separate packages.
On Jul 19, 2010, at 4:19 AM, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
> On Mon, 2010-07-19 at 12:09 +0100, Ashley Sheridan wrote:
>
>> Hi all,
>>
>> I'm having a bit of a problem here with getting DomDocument on PHP. I've
>> got a Fedora 11 system and have used the package manager to install PHP
>> and its various modules, at no point have I compiled PHP myself (which
>> has never worked when I've tried it, ever, but that's another issue)
>>
>> I've made sure the xml module was installed through packagekit, but i
>> find no listing for any php-dom type module. I checked the line that PHP
>> was configured and built with as shown in a phpinfo() call, and
>> --disable-dom is showing, however, I believe that's actually a red
>> herring, as a virtual machine running CentOS also has -disable-dom
>> showing as a config option, and yet DOM is also clearly listed as
>> working further down the phpinfo() page.
>>
>> Is there some sort of issue with Fedora and DOM, as I read online that
>> it wasn't included in the default repos. What can I do to enable
>> domdocument that doesn't involve compiling PHP manually (like I said,
>> every time I try it there's a failure because of some missing symbols or
>> other, but this could again be a Fedora issue)
>>
>> Is there maybe an RPM somewhere that anyone knows about and has used
>> before, or is it simply that I need to copy or make a symlink to a .so
>> library?
>>
>> Full specs are as follows:
>> Fedora 11
>> Apache 2.2.15
>> PHP 5.2.13
>>
>>
>> Thanks,
>> Ash
>> http://www.ashleysheridan.co.uk
>>
>>
>
>
> OK, I seem to have answered my own question!
>
> It seems that even though PHP had the XML module enabled, I still needed
> to run 'yum update php-xml' in order for it to load in the DOM module.
> It's now working fine, and for those of you interested, the ./configure
> line in phpinfo() still says --disable-dom!
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>