Reputation: 151
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
Reputation: 512
You can solve this error simply by following these easy steps.
Upvotes: 2
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
Reputation: 347
Upvotes: 5
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
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
Reputation: 258
Search for php.ini in php fold and remove ; from ;extension=php_xsl.dll and you are good to go
Upvotes: 0
Reputation: 21
extension=php_xsl.dll
It will work proper.
Upvotes: 2
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
Reputation: 11
Go to your php root folder,
Copy all icu* * * *.dll files: from C:\xampp\php
to C:\xampp\apache\bin
Upvotes: 1
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
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
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
Reputation: 1537
Uncomment the following line from php.ini file(remove ';' from the line)..
;extension=php_xsl.dll
Upvotes: 13
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