2

I am trying to install magento2 on xampp server and get these errors: these PHP extensios are not available:

PHP Extension xsl. PHP Extension intl. PHP Extension soap.

Please tell me how to remove these errors.

Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
asked Dec 9, 2017 at 17:04

2 Answers 2

1

The error you are getting is quite common with beginners during magento 2 installation. It is better to follow this documentation. The error you are seeing in your installation process means that your server lacks php xsl,intl and soap extension. You must install these according to your php version. To check the php extensions installed in your server use this command in terminal.

php -m

To enable your intl extension you must locate your php.ini file and uncomment this line: ;extension=php_intl.dll by removing semicolon at the beginning.

Similarly for other two extensions uncomment .i.e remove semi-colon at the beginning.

;extension=php_xsl.dll

;extension=php_soap.dll

To see it's effect you need to restart your xampp server.

If you do not know where your php.ini file is located then:

For Windows, you can find the file in the C:\xampp\php\php.ini-Folder (Windows) or in the etc-Folder (within the xampp-Folder).

Under Linux, most distributions put lampp under /opt/lampp, so the file can be found under /opt/lampp/etc/php.ini.

answered Dec 9, 2017 at 17:19
3
  • its not working. i removed the "!". Commented Dec 10, 2017 at 11:55
  • did you restart your xamp server? Make sure you have those modules enabled or installed by using command php -m Commented Dec 11, 2017 at 2:40
  • You are welcome. Commented Dec 11, 2017 at 6:16
0

These PHP Extension xsl. PHP Extension intl. PHP Extension soap. extensions are by default disabled in php configuration file (php.ini)

To install magento2, we need to enable these extensions: To do this in Windows:- Go to C:\xampp\php\php.ini edit this php.ini file in the text editior and remove the semicolon at the beginning of following lines:

;extension=php_intl.dll

;extension=php_soap.dll

;extension=php_xsl.dll

If the above lines are not available in php.ini file then below lines must be available

;extension=intl

;extension=soap

;extension=xsl

Remove the semicolon at the beginning of these lines and Save the php.ini file, stop and start Apache again

Cheers !!

Thank You !!

answered Jan 29, 2021 at 11:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.