admin/environment/php extension/soap: Difference between revisions
From MoodleDocs
Tim Bahula 2 (talk | contribs) m (→Install Soap module for PHP 5: clean up, typos fixed: apache → Apache, eg → e.g.) |
(Removed references to PHP 5, update instructions) |
||
Line 1: | Line 1: | ||
{{Environment}} | {{Environment}} | ||
== | == SOAP extension for PHP == | ||
The optional SOAP extension is useful for web services and some plugins. | |||
== Installing == | |||
=== Debian === | |||
# apt-get install php-soap | |||
=== CentOS === | |||
Download and install soap | Download and install soap: | ||
dnf install php-soap | |||
You might need to restart PHP-FPM to apply the change in configuration: | |||
systemctl restart php-fpm | |||
If you are unable to find the correct package try searching with: | |||
dnf search 'php*-soap' | |||
=== Microsoft Windows === | |||
1) Locate php.ini | |||
e.g. for XAMPP: | |||
C:\xampp\php\php.ini | |||
2) Search for the string inside the quotes - ";extension=php_soap.dll" | |||
3) Remove the semicolon, save the file and restart apache. | |||
{{stub}} | {{stub}} | ||
Line 17: | Line 36: | ||
[[es:admin/environment/php extension/soap]] | [[es:admin/environment/php extension/soap]] | ||
Latest revision as of 11:01, 12 November 2022
SOAP extension for PHP
The optional SOAP extension is useful for web services and some plugins.
Installing
Debian
# apt-get install php-soap
CentOS
Download and install soap:
dnf install php-soap
You might need to restart PHP-FPM to apply the change in configuration:
systemctl restart php-fpm
If you are unable to find the correct package try searching with:
dnf search 'php*-soap'
Microsoft Windows
1) Locate php.ini e.g. for XAMPP: C:\xampp\php\php.ini
2) Search for the string inside the quotes - ";extension=php_soap.dll"
3) Remove the semicolon, save the file and restart apache.