Re: xsl with PHP 5.0.3

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Carl Parrish
Date:  
To: Main PLUG discussion list
Subject: Re: xsl with PHP 5.0.3
Alex Dean wrote:

> What do you have for 'extension_dir' in php.ini? You might need to
> change that so it knows where to find your 'libxslt.so'.
>
> alex
>
> Carl Parrish wrote:
>
>> Has anyone gotten the libxslt mod working with php 5.x?
>> I've got libxslt-1.1.12-2 and libxslt-devel-1.1.12-2 installed on a
>> FC2 box (via rpm)
>> the following *.so files are installed.
>>
>> /usr/lib/libxslt.so
>> /usr/lib/libxslt.so.1.1.12
>> /usr/lib/libxslt.so.1
>>
>> I added the following to my /etc/php.ini file
>> extension=libxslt.so
>>
>> Then I compiled with
>> --with-xsl-dir=/usr/lib
>>
>> configure runs fine, make runs fine, and make install runs fine,
>> however when I'm finished at look at phpinfo() libxslt isn't found
>> (libxml2 is though). When I try to run a test I get this error.
>>
>> Fatal error: Class 'XsltProcessor' not found
>>
>> Anyone know what I'm doing wrong?
>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>

Thanks Alex (I just realized I sent this to plug instead of the php user
group). /etc/php.ini has
extension_dir = "./"
I'm going to try
extension_dir="./:/usr/lib" and see if that gets me anywhere.


--
Carl Parrish
------------
Developer
PCL Design & Consulting Inc.
http://www.pcl-consulting.com

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss