Dennis
Dennis

Reputation: 151

php xsl extension missing magento readiness check

I'm trying to install magento on my Windows 10 system with MAMP PRO, and I have been getting the same error over and over for a while now. The magento installer says that my php xsl extension is missing. To install the extension, the manual says that I have to add the argument --with-xsl[=DIR] to my configure line but I have no idea how to do this.

I have added extension=php_xsl.dll to my php.ini file but it still isn't added. The php_xsl.dll is present in my /ext folder.

What could the issue be?

Upvotes: 15

Views: 54251

Answers (14)

Dinush Chathurya
Dinush Chathurya

Reputation: 512

You can solve this error simply by following these easy steps.

  1. Stop the Apache server first
  2. Then go to C:\xampp\php
  3. Open php.ini file
  4. Then uncomment all required extensions (;extension=xsl to extension=xsl)
  5. Save it and exit
  6. Then start xampp again and try to install

Upvotes: 2

Anthony phillips
Anthony phillips

Reputation: 312

In Installer.php line 545 error in magento 2.4.1

uncomment the following in your php.ini file by removing ";" for

;extension=intl
;extension=soap
;extension=xsl
;extension=sockets

Upvotes: 0

Nabin Rawat
Nabin Rawat

Reputation: 347

  1. Go to php.ini file
  2. Change ;extension=xsl to extension=xsl
  3. Restart your Apache xampp

Upvotes: 5

patel jay
patel jay

Reputation: 135

in xamp/php/php.ini search and modify php.ini file, search ;extension=php_xsl.dll line, remove ; at the line start and save php.ini file. Then open xampp manager, stop Apache services and restart again.

Upvotes: 7

cachestache
cachestache

Reputation: 5

The most upvoted answers are not telling you where to go to edit these files. The correct path is: C:\MAMPPRO\conf\php(version number here) Then you can remove the ; from the line extension=php_xsl.dll and restart the server.

Upvotes: 0

karthik padav
karthik padav

Reputation: 258

Search for php.ini in php fold and remove ; from ;extension=php_xsl.dll and you are good to go

Upvotes: 0

Hassan Tariq
Hassan Tariq

Reputation: 21

  1. First, stop apache.
  2. Edit C:\xampp\php\php.ini
  3. Only remove ; at the begiinning of the line extension=php_xsl.dll
  4. Then start apache again

It will work proper.

Upvotes: 2

Aaron Belchamber
Aaron Belchamber

Reputation: 1698

Magento is often installed on Linux. The title of this question above doesn't specify the server but the question does so I stumbled on this answer though I was looking for the Linux solution. So if anyone is looking for how to enable the xsl extension on Ubuntu, the answer is here: Enable XSL on Ubuntu 12.04

Upvotes: 0

Anita Beqiri
Anita Beqiri

Reputation: 11

Go to your php root folder,

Copy all icu* * * *.dll files: from C:\xampp\php

to C:\xampp\apache\bin

Upvotes: 1

Sandeep
Sandeep

Reputation: 11

After what seemed like a million frustrating attempts, I finally came across this page and the note above. For some reason, the php.ini file in my MampPro php 7.0.9 was missing the intl and xsl dll (even though I kept uncommenting the ";"

Anyway - I saw the note above and was able to make the amends -- and voila, the issue was resolved.

I wish somehow this info was made available in php documentation and in MampPro site too. Hopefully, this won't be an issue in future patches or updates.

Upvotes: 1

Anshu Mishra
Anshu Mishra

Reputation: 371

This is because the XSL extension is not enabled.
To enable the XSL extension go to the location where the MAMP (or XAMPP) is installed. Then go to php/php.ini.
Un-comment the line extension=php_xsl.dll and restart the server.

Upvotes: 5

Practicali
Practicali

Reputation: 1

I was installing Magento 2.1 on MAMP PRO WINDOWS (something that is not supported and not done) as a total newbie.

The same problem popped up intl en xsl extensions missing while ; was removed.

After trying everything I just looked at the php.ini location phpinfo() C:\Users\Public\Documents\Appsolute\MAMPPRO\conf\php7.0.6.ini

Copied the php7.0.6.ini I changed on several locations an many times just into this windows directory and all my troubles were gone.

Upvotes: 0

Sushil Kumar
Sushil Kumar

Reputation: 1537

Uncomment the following line from php.ini file(remove ';' from the line)..

;extension=php_xsl.dll

Upvotes: 13

Zuko
Zuko

Reputation: 367

Are your other ext you've loaded in php.ini working nomarlly ?.(Try php_info()) And did you think u've download correctly .dll file.

Upvotes: 0

Related Questions