I am trying to enable XSL on Ubuntu 12.04 but its failing. I did this locally on my Ubuntu 13.04 and it was successful. Basically the following worked on my local computer.
- apt-get install php5_xsl
- edit php.ini file and add extension=php5_xsl.so
- restart apache
I repeated the same procedures on my production server running Ubuntu 12.04
and PHP version 5.5.12 but the extension is not getting loaded from the phpinfo. I have also changed the extension=php5_xsl.so
to extension=xsl.so
because this is what in the extension directory.
I read that I might need to recompile PHP but I am not sure of this steps.
Try this:
Why:
http://www.lornajane.net/posts/2012/managing-php-5-4-extensions-on-ubuntu