How to disable compiled extension in PHP

My home system has a version of PHP compiled with the SOAP extension. There is a PHP version on the living system without the SOAP extension, and most scripts are highly dependent on the NuSOAP library. The fact that NuSOAP and the SOAP extension use the same names for their classes is a terrible headache.

How to disable SOAP extension on my home system without reinstalling / recompiling? It is compiled and not included by the extension directive in the ini file.

+4
source share
1 answer

it is an extension, so it can be disabled in php.ini . Just end the line. Remember to restart Apache.

I found nusoap rather rudely, so updating your native soap should be the first priority. If this is not immediately possible, it would be nice to switch to nusoap-for-php5 , since it allows you to run both your own soap extension and nusoap next. You can then implement the new code using your own soap, but nusoap uses outdated code.

-3
source

All Articles