Hello
I need PHP 7.0 SOAP extension.
I read several topics in this forum about add extensions but i can not understood how can install soap.
Please help
I need PHP7.0 SOAP extension
my webserver is OLS
also i have multi php: 5.6 7.0 7.1 7.2 7.3 7.4
i down php source but in step of ./configure before make it shown:
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
please help
I did:
./configure --with-php-config= /usr/local/lsws/lsphp70/etc
again error:
]# ./configure --with-php-config= /usr/local/lsws/lsphp70/etc
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/lsws/lsphp70/etc
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for /usr/local/lsws/lsphp70/etc-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for /usr/local/lsws/lsphp70/etc-cc... no
checking for /usr/local/lsws/lsphp70/etc-gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... /usr/local/lsws/lsphp70/etc
configure: error: invalid value of canonical build
my website need soap php extension for working.
Please help.
arsse
Ubuntu
apt install lsphp70-soap -y
Centos
yum install lsphp70-soap -y
aaPanel_Jose
Thanks a lot Jose.
It is simpler than old method that i had done.
where we put that code
huzaifahammad If you have to ask this... you need to brush up on your linux skills before using AAPANEL buddy. - This is of course a command-line code.
THank you so much.