xsl with PHP 5.0.3

Alex Dean alex at crackpot.org
Fri Aug 26 09:46:27 MST 2005


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?
>
>



More information about the PLUG-discuss mailing list