(ASK) Soap Error dan bagaimana cara mengatasinya?

Discussion in 'Masalah Teknik dan Keamanan' started by pangeran1995, 4 Feb 2015.

Thread Status:
Not open for further replies.
  1. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,353
    Likes Received:
    105
    Trophy Points:
    63
    Hallo Tuan
    saya install Soap di easyapache dan sudah sukses tidak ada error
    namun pada error_log web malah error, berikut errornya adalah :

    [04-Feb-2015 15:33:36 Asia/Jakarta] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/soap.so' - /usr/lib/php/modules/soap.so: file too short in Unknown on line 0

    bagaimana cara mengatasinya ya??
    sebelumnya tidak ada folder modules dan file soap.so

    jika di buat manual.. isi dari soap.so itu apa ya??

    terima kasih
     
  2. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Catatan:

    1. Di '/etc/php.ini' biasanya ada 'extension_dir = /usr/lib64/php/modules' (jika pakai OS 64bit) atau 'extension_dir = /usr/lib/php/modules' (jika pakai OS 32bit) yang mengatur tempat beradanya file .so
    2. Jika tidak ada tambahkan baris tersebut dibawah php section
    3. Jika ada maka setiap .ini untuk module (ada di '/etc/php.d') cukup di isi 'extension=soap.so' (misalnya untuk soap)
    4. Jika pakai OS 64bit, sebaiknya jalankan 'ln -sf /usr/lib64/php /usr/lib/php' agar ada softlink
     
  3. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,353
    Likes Received:
    105
    Trophy Points:
    63
    makasih banyak mas
    ada Ym ga?? biar bisa ngobrol melalui Ym :)
    soalnya saya udah muter2 kok solusinya yg ada di forum cpanel masih kurang
     
  4. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,353
    Likes Received:
    105
    Trophy Points:
    63
    errornya masih sama mas ga ada perubahan meski catatannya sudah saya kerjakan
     
  5. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Infokan saja 'dir -l /etc/php.d; dir -l /usr/libs/php/modules; php -m; yum list|grep soap'.
     
  6. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,353
    Likes Received:
    105
    Trophy Points:
    63
    dir -l /etc/php.d
    -rw-r--r-- 1 root root 18 Feb 4 19:37 /etc/php.d

    /bin/ls: cannot access /usr/libs/php/modules: No such file or directory

    php -m
    [PHP Modules]
    bcmath
    calendar
    Core
    ctype
    curl
    date
    dom
    eAccelerator
    ereg
    ffmpeg
    filter
    ftp
    gd
    gettext
    hash
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    mcrypt
    mysql
    mysqli
    openssl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    Reflection
    session
    SimpleXML
    soap
    sockets
    SourceGuardian
    SPL
    SQLite
    sqlite3
    standard
    suhosin
    tokenizer
    xml
    xmlreader
    xmlwriter
    Zend Guard Loader
    zip
    zlib

    [Zend Modules]
    Zend Guard Loader
    the ionCube PHP Loader

    yum list|grep soap
    alt-php51-soap.x86_64 5.1.6-34.el6 @cloudlinux-x86_64-server-6
    alt-php52-soap.x86_64 5.2.17-53.el6 @cloudlinux-x86_64-server-6
    alt-php53-soap.x86_64 5.3.29-7.el6 @cloudlinux-x86_64-server-6
    alt-php54-soap.x86_64 5.4.36-1.el6 @cloudlinux-x86_64-server-6
    alt-php55-soap.x86_64 1:5.5.20-1.el6 @cloudlinux-x86_64-server-6
    alt-php56-soap.x86_64 5.6.4-1.el6 @cloudlinux-x86_64-server-6
    glite-lbjp-common-gsoap-plugin.i686
    glite-lbjp-common-gsoap-plugin.x86_64
    glite-lbjp-common-gsoap-plugin-devel.i686
    glite-lbjp-common-gsoap-plugin-devel.x86_64
    gsoap.i686 2.7.16-4.el6 epel
    gsoap.x86_64 2.7.16-4.el6 epel
    gsoap-devel.i686 2.7.16-4.el6 epel
    gsoap-devel.x86_64 2.7.16-4.el6 epel
    python-soaplib.noarch 0.8.1-4.el6 epel
    qtsoap.i686 2.7-3.el6 epel
    qtsoap.x86_64 2.7-3.el6 epel
    qtsoap-devel.i686 2.7-3.el6 epel
    qtsoap-devel.x86_64 2.7-3.el6 epel
    soapbox.x86_64 0.3.1-1.2.el6.rf dag



    itu mas
     
  7. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Saya tidak tahu easyapache terkait tempat alt-php diletakkan. Bisa jadi hal ini yang bikin tidak match. Yang jelas, soap sudah terpasang di 'default' php (terbaca dari 'php -m').

    Akan ada masalah jika module untuk versi 5.3 dipakai untuk versi 5.4 misalnya.
     
  8. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,353
    Likes Received:
    105
    Trophy Points:
    63
    kalo install manual malah tidak enable mas
    hehehe coba saya kontak pihak Cpanel nya terkait masalah ini
    sebelumnya terima kasih banyak telah membantu saya
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...