The PHP extension "curl" must be loaded. PHP soap extension must be loaded

I am very new to magento, and currently I am getting the "PHP Extension Extension" error when installing magento. Can you help me?

+4
source share
6 answers

If there is no curl on your server, you can enter one of the following commands to install it:

For Debian / Ubuntu based systems, you can enter the command below

sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart 

For RedHat / CentOS based systems, you can enter (with root privileges)

 yum install php5-curl /etc/init.d/httpd restart 

This should set the curl and start working for you.

+11
source

delete ';' from extension = php_curl.dll in php.ini, maybe you do not have an active mod.

Take a look and see if you have an active file.

+1
source

Before installing Magento or any other system, look at the system requirements :

For Magento :

Supported Operating Systems:

  • Linux x86, x86-64

Supported Web Servers:

  • Apache 1.3.x
  • Apache 2.0.x
  • Apache 2.2.x

Supported browsers:

  • Microsoft Internet Explorer 6 and later
  • Mozilla Firefox 2.0 and later
  • Apple Safari 2.x
  • Google chrome
  • Adobe Flash plugin for browser must be installed

PHP compatibility:

  • 5.2

Required Extensions:

  • PDO_MySQL
  • Simplexml
  • Mcrypt
  • hash
  • Gd
  • Dom
  • Iconv
  • curl
  • SOAP (if using the web services API)
  • Safe_mode off
  • Memory_limit at least 256 MB (preferably 512)

MySQL:

  • 4.1.20 or later
  • InnoDB SSL Storage Engine:

  • If HTTPS is used for admin, the SSL certificate must be valid. Self-signed SSL certificates are not supported. Server - hosting - configuration:

  • Ability to run scheduled tasks (crontab) using PHP 5

  • Ability to override settings in .htaccess files

To install CURL, check this page depending on your platform

+1
source

1: Find extension = php_soap.dll in php.ini and remove the semicolon (;)

2: restart the server

+1
source

Josh's answer should work well with PHP5, but if you're on PHP7 (for Debian / Ubuntu based systems):

 sudo apt-get install php-curl 

Then reboot the server.

Also, no need to uncomment the extension in php.ini after that.

0
source

Sorry for adding an answer, not enough points to comment on the che-azeh answer, which should be:

 sudo apt-get -y install php7.0-curl 
0
source

Source: https://habr.com/ru/post/1312521/


All Articles