Module is not loaded in php.ini

Asked

Viewed 244 times

1

Hi, I’m trying to download a Composer package and it points out that the Soap extension is not enabled.

- nfephp-org/sped-nfe v5.0.97 requires ext-soap * -> the requested PHP extension soap is missing from your system.

However I checked in my php.ini the extension Soap and it is uncommented. Meu php. ini

However, when I list php modules with php -m it does not appear.

$ php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
filter
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
Phar
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

Does anyone know what it can be?

  • 1
    1. Check if the extension files exist; 2. Check (with php -i | grep ini) if you are editing the php.ini correct; 3. Restart PHP after changes in php.ini.
  • PHP would find these settings from predefined locations such as: 1. SAPI 2 modules. PHPRC environment variables (if running version 5.2) 3. Registry keys predefined in Windows 4. Files that are in your current directory 5. Directories on the server side 6. Those directories configured with the --with-config-file-path option or within the Windows folder. Doubt? This subject is detailed here: link With the php -i | grep ini you will be able to identify paths that SHOULD be well pointed out.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.