SOAP error after new php

Discussion in 'Installation/Configuration' started by Steffan, Dec 1, 2014.

  1. Steffan

    Steffan Member

    hello i upgraded my server to php 5.6
    now softaclous cant connect anymore
    yes port 8000 is correct

    so i downloaded a test script:
    and got the same message
    any idees ?

    SOAP Blad: Could not connect to host


    $username = 'test';
    $password = 'xxxxx';

    $soap_location = 'https://xxxxxxx:8000/remote/index.php';
    $soap_uri = 'https://xxxxxx/remote/';
    $client = new SoapClient(null, array('location' => $soap_location,
    'uri' => $soap_uri));

    try {
    if($session_id = $client->login($username,$password)) {
    echo 'Zalogowany. Sesja:'.$session_id.'<br />';

    $params = array( 'server_id' => 1,
    'wb' => 'w',
    'rid' => '',
    'email' => '[email protected]',
    'priority' => '4',
    'active' => 'y');

    $client_id = 0;
    $domain_id = $client->mail_whitelist_add($session_id,$client_id,$params,$domain_id);

    if($client->logout($session_id)) {
    echo 'Wylogowany.<br />';

    } catch (SoapFault $e) {
    die('SOAP Blad: '.$e->getMessage());

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does your new php version contain soap, check with phpinfo().
    Are you able to access the url https://xxxxxxx:8000/remote/index.php in a browser? You should see a white page (but no error).
  3. Steffan

    Steffan Member

    no errors just a white page

    SOAP is present

    PHP Version 5.6.3
    Soap Client enabled
    Soap Server enabled
    Directive Local Value Master Value
    soap.wsdl_cache 1 1
    soap.wsdl_cache_dir /var/lib/php/wsdlcache /tmp
    soap.wsdl_cache_enabled 1 1
    soap.wsdl_cache_limit 5 5
    soap.wsdl_cache_ttl 86400 86400
  4. Steffan

    Steffan Member

    looks lik eit is a ssl problem
    disabling ssl and the installer is working

    any idees ?

    it was working before i upgraded php

    php -i | grep ssl
    Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
    openssl.cafile => no value => no value
    openssl.capath => no value => no value
  5. florian030

    florian030 Well-Known Member HowtoForge Supporter

    This should be related to php 5.6. klick and klick.
  6. Steffan

    Steffan Member

    i will foward it to softaculous
    i cant make any changes in there code.

Share This Page