Error Solved

Finally I solved the error

Archive for November 2008

Could not perform XSLT transformation. Make sure PHP has been compiled/configured to support XSLT.

with 8 comments

Error when running symfony on wamp server.

Description:   I was trying to run the symfony PHP framework. I tried to build the model using command
php symfony propel:build-model.

And it gave error Could not perform XSLT transformation. Make sure PHP has been compiled/configured to support XSLT.

Environment: Wamp server 2.0, PHP 5.2.5, Apache 2.2.6.

Reason: PHP-XSL extension is not enabled. By default, Wamp server doesnt enable php-xsl php extension. and php-xsl is required.

Solution: Enable php-xsl extension.

left click on WAMP’s tray icon and than in PHP>PHP extensions select php-xsl and enable it.But there is one more php.ini file, which WAMP won’t change, we need to do it by hand, open: C:\wamp\bin\php\php5.2.5\php.ini and remove “;” from the line

;extension=php_xsl.dll

And then restart the server. Try to run the build command again.

Some useful links to get symfony running properly on wamp.

http://trac.symfony-project.org/wiki/SymfonyOnWAMP

http://anandshahil11.wordpress.com/symfony-php-framwework-installation-on-windows-wamp/

Written by daringtakers

November 13, 2008 at 1:42 pm

Posted in symfony

Tagged with , , ,