Working with PHP extensions on Windows

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
mo.mughrabi
Forum Newbie
Posts: 2
Joined: Fri Sep 10, 2010 6:29 pm

Working with PHP extensions on Windows

Post 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,
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Working with PHP extensions on Windows

Post 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.
mo.mughrabi
Forum Newbie
Posts: 2
Joined: Fri Sep 10, 2010 6:29 pm

Re: Working with PHP extensions on Windows

Post 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,
Post Reply