Issue
I want to enable soap in remote server. I'm using centos 7 and php 5.6.9(php56w). I follow the instructions written in the web but still I can't enable the soap.
I already added in /usr/local/lib/php.ini
extension="soap.so"
or
extension="/usr/local/lib/php/extensions/no-debug-zts-20131226/soap.so"
or
extension="/usr/lib64/php-zts/modules/soap.so"
but still didn't work.
Comments are highly appreciated! :)
Solution
Firstly you need
make clean
To clean last compilation. Next compile php with:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mcrypt --with-zlib --with-openssl --enable-mbstring --enable-mbregex --with-pdo-pgsql=/usr/local/pgsql --with-pgsql=/usr/local/pgsql --enable-soap --enable-sockets --enable-calendar
And finaly:
make && make install
Answered By - Ruslan Aliev Answer Checked By - Robin (WPSolving Admin)