xsl with PHP 5.0.3

Carl Parrish lists at pcl-consulting.com
Fri Aug 26 10:40:30 MST 2005


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 - PLUG-discuss at lists.plug.phoenix.az.us
> 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



More information about the PLUG-discuss mailing list