Page 1 of 1

Working with PHP extensions on Windows

Posted: Fri Sep 10, 2010 6:33 pm
by mo.mughrabi
Hello everyone,

My name is Mo & am a PHP developer, I've been using XAMPP for years now and recently I've decided to scratch that and try doing my own setup.

Now PHP is functional and running fine, yet when I navigate to ext directory I find very few extensions (DLLs) there. I want to enable XSL and I cannot find the DLL file there. Is there a way to download missing DLLs? an interface to install and remove extensions? If not, what would be an easy way find the DLLs?

Best wishes,

Re: Working with PHP extensions on Windows

Posted: Fri Sep 10, 2010 6:47 pm
by John Cartwright
XSL should be included in any PHP versions since PHP.
PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory.
Otherwise,

Uncomment the ";extension=php_xsl.dll" in your php.ini, which the dll can be located here.

Re: Working with PHP extensions on Windows

Posted: Fri Sep 10, 2010 8:11 pm
by mo.mughrabi
I did a little research and found out what is causing my installation to be missing the extensions. Actually, the version I downloaded is 5.3.3 from http://windows.php.net/download/.

Only version 5.3.2 comes packages with all extensions in a compressed package. In this project am currently working on, I kinda of require 5.3.3 specifically, any idea where I might find installation with all the extensions packaged?

Last but not least, I copied the DDL and tried to put it there into the folder and added the extension=php_xslt.dll into the php.ini, I caused apache to fail starting up. Could that be that the DDL was compiled with different PHP version?

Thanks in advance,