As for your question: no, if activating with .ini not enough, and you cannot upgrade PHP, you cannot do this. Some modules, but not all, can be added without recompilation ( zypper install php5-soap , yum install php-soap ). If this is not enough, try installing some PEAR class for interpreted SOAP support (NuSOAP, etc.).
In general, the double dash --switches intended to be used when recompiling PHP from scratch.
You download the original PHP package (e.g. compressed tar2 t24), decompose it somewhere, and then, for example. under Linux run configure script
./configure
The configure command used by your PHP can be shown with phpinfo() . Repeating it identically should give you the exact copy of PHP that you just installed. Adding --enable-soap will then enable SOAP in addition to everything else.
However, if you are not familiar with recompiling PHP, do not. It also requires several auxiliary libraries that you could or could have - freetype , gd , libjpeg , XML , expat , etc. Etc. (This is not enough., They must be a version of the developer, that is, with headers, etc., in most distributions, installing libjpeg may not be sufficient, and you may also need libjpeg-dev ).
I need to keep a separate virtual machine with everything that was installed for my recompilation purposes.
LSerni Jul 20 2018-12-18T00: 00Z
source share