Open tomaszszkudlarek opened 6 years ago
httpd as well as the whole server was restarted just to be sure
I've got the same issue over here. Running on the same configuration but running on PHP 7.1
Fixed it! System was installing SOAP by default for PHP 5.4 but icingaweb2 is running on (in my case) rh-php71 (Check in /etc/opt/rh what version you have installed)
[root@SDH-DRO-MON01 ~]# ls /etc/opt/rh
Returns:
rh-php71
For rh-php71: https://centos.pkgs.org/7/centos-sclo-rh/rh-php71-php-soap-7.1.8-1.el7.x86_64.rpm.html
Command:
yum install rh-php71-php-soap
It's in fact 7.1, however i didn't solve the problem by installing it (and restarting httpd). But maybe in my case i require some additional configuration steps. I'll check it later. Thanks for a tip.
After just restarting the service it didn't work on my system. I've restarted the machine. 😄
For those of you having this issue after installing the aforementioned package and restarting apache, you're probably configured to use php-fpm. You'll need to run the following command:
systemctl restart rh-php71-php-fpm.service
Confirmed on Centos 7.x the following works: yum install rh-php71-php-soap systemctl restart rh-php71-php-fpm.service
Thx @sonicos 👍 It works :)
Small tip at the end: If you are using PHP-FPM under CentOS and install some new extention you always have to restart the PHP-FPM daemon because it is taking care about PHP under CentOS.
vSphere Module version 1.1.0 Director Version - latest CentOS 7, php 5.4.16, Soap Module installed (visible in all info commands, and tested via simple script which executes exactly the same condition - if class_exists ('SoapClient') - which is returning true) No errors in httpd log. Error comes when i try to add new import source. Honestly i have no idea how to investigate this further.