XSLT Module solution for Symfony projects
I was following the Jobeet tutorial when I came across an error when typing the command:
$ php symfony propel:build-sql
The terminal spat of the message:
[propel-sql] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.
Had a scout around for solutions and it seems that people were having problems especially using php5 and apache2.
My configuration is php5, apache2 on Ubuntu Intrepid (8.10) and eventually i found this post which explains how to do it. I have put the terminal commands here to make it easy…
sudo apt-get install libapache2-modxslt php5-xsl
I then restarted apache2: sudo /etc/init.d/apache2 restart
Everything ran ok and when I ran the propel:build-sql comand again it worked fine without error messages.