How to Install Soap in Centos with aaPanel
Master Command yum install php soap
Before start, let me explain what's aaPanel.
aaPanel is an open-source web hosting control panel to manage hosting services such as databases, websites, and more, just like Webmin. Here we will see how to install and set up it on CentOS 6/7/RHEL or Ubuntu 20.04/18.04/17.04 Linux server.
Being a web-based graphical control panel for hosting, it can be easily managed from any local or remote computer just like popular Cpanel. However, indeed the features are not vast in aaPanel like WHM, yet, enough to operate and manage all things a web server required. After installing aaPanel, setting and running up a website is become very easy, with just one click we can set up LANMP/LAMP (Linux, Apache/Nginx, MySQL, PHP) for testing or developing web apps.
With the help of aaPanel, the headache of running various commands for creating databases, creating and managing Docker, website, FTP server, and Python project will not be anymore and all of them can be managed using just a few clicks of the mouse. Let’s see a step-by-step tutorial to know the installation process of aaPanel on CentOS using a local or remote command terminal.
there are lots of Articles regarding installing SOAP extensions, let's discuss those first.
From my point of view, First thing is to install soap into Centos
yum install php-soap
Second, see if the soap package exist or not
yum search php-soap
third, thus you must see some result of the soap package you installed, now type a command in your terminal in the root folder for searching the location of soap for the specific path
find -name soap.so
fourth, you will see the exact path where it's installed/located, simply copy the path and find the php.ini to add the extension path,
usually, the path of php.ini file in centos 6 is in
fifth, add a line of code from below into php.ini file
and then save the file and exit.
sixth run apache restart command in Centos. I think there is two commands that can restart your apache ( whichever is easier for you )
service httpd restart
Lastly, check phpinfo() output in the browser, you should see the SOAP section where SOAP CLIENT, SOAP SERVER etc are listed and shown Enabled.
On CentOS 7, the following works:
yum install php-soap
This will automatically create a soap.ini under /etc/php.d.
The extension itself for me lives in /usr/lib64/php/modules. You can confirm your extension directory by doing:
php -i | grep extension_dir
Once this has been installed, you can simply restart Apache using the new service manager like so:
systemctl restart httpd
Thanks to Matt Browne for the info about /etc/php.d.
Okay so if the above one is not working just simply do this command, believe me, it will work 200% otherwise you can ping me back anytime.
apt install lsphp70-soap -y
apt install lsphp71-soap -y
apt install lsphp72-soap -y
apt install lsphp73-soap -y
apt install lsphp74-soap -y
apt install lsphp80-soap -y
apt install lsphp81-soap -y
yum install lsphp70-soap -y
yum install lsphp71-soap -y
yum install lsphp72-soap -y
yum install lsphp73-soap -y
yum install lsphp74-soap -y
yum install lsphp80-soap -y
yum install lsphp81-soap -y
this is one of the best and easiest solutions if you need more details just comment back.
So you don't need to hurry it take time, hope it may help you, still facing an issue? Ping me back
Have a Nice Day