Results 1 to 6 of 6

Thread: Install problem: Ice works on php -m but not on phpinfo

  1. #1
    W4NTED is offline Registered User
    Name: Aissani Mehdi
    Organization: W4NTED.NET
    Project: W4NTED PROJECT
    Join Date
    Jan 2011
    Posts
    12

    Install problem: Ice works on php -m but not on phpinfo

    Hello Ice dev Team:

    I have tried to install the lastest Ice 3.4.1.
    It compilled perfectly but there is one thing who don't works.
    when i do a php -m , i can view ice on loaded module.
    But when i make a php info , Ice is not loaded.

    That is what i have done to LD_LIBRARY_PATH because i have installed on default location:

    Code:
    export LD_LIBRARY_PATH=/opt/Ice-3.4.1/lib
    That is my ldd output:

    Code:
    ldd /usr/lib/php5/20060613+lfs/IcePHP.so                                    linux-gate.so.1 =>  (0xffffe000)
            libIce.so.34 => /opt/Ice-3.4.1/lib/libIce.so.34 (0xb7376000)
            libSlice.so.34 => /opt/Ice-3.4.1/lib/libSlice.so.34 (0xb71db000)
            libIceUtil.so.34 => /opt/Ice-3.4.1/lib/libIceUtil.so.34 (0xb7170000)
            libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7151000)
            librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7148000)
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb705a000)
            libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7034000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7027000)
            libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb6ecb000)
            libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb6ebb000)
            libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb6eb7000)
            libmcpp.so.0 => /usr/lib/libmcpp.so.0 (0xb6e33000)
            /lib/ld-linux.so.2 (0xb7838000)
    php-m output:

    Code:
    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    date
    dba
    dom
    exif
    filter
    ftp
    gd
    gettext
    hash
    ice 
    iconv
    imagick
    imap
    json
    libxml
    mbstring
    mcrypt
    mime_magic
    mysql
    mysqli
    ncurses
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    posix
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    uploadprogress
    wddx
    xml
    xmlreader
    xmlwriter
    zip
    zlib
    
    [Zend Modules]

    Module: Ice 3.4.1
    Os: debian lenny
    PHP Version 5.2.6-1+lenny9
    Clic here to view my php info

    My installation code:

    Code:
    apt-get update
    apt-get install php5-dev php5-cli libmcpp-dev libbz2-dev libexpat1-dev libssl-dev libdb4.6++-dev
    cd /home
    wget http://www.zeroc.com/download/Ice/3.4/Ice-3.4.1.tar.gz
    gunzip Ice-3.4.1.tar.gz
    tar -xf Ice-3.4.1.tar
    cd Ice-3.4.1
    make
    cd php
    make
    cd ..
    make install
    cd php
    make install
    If you need more details, i am there.
    Thanx for the future answers And thanx to ZEROC STAFF.

    NB: Sorry for my bad English, I am french.
    Last edited by W4NTED; 03-14-2011 at 10:14 PM.

  2. #2
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    Hi,

    Code:
    export LD_LIBRARY_PATH=/opt/Ice-3.4.1/lib
    That is what i have done to LD_LIBRARY_PATH because i have installed on default location:
    That change only affects your current user term environment, you need to change that for the user that runs apache, or for all users. AFAIK in debian that is done in /etc/ld.so.conf.d/, but i'm not Debian expert.

    If you still have problems, will help to see if there is any related message in your apache error log.

  3. #3
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    Hi,

    To be clear, you need to add a file for Ice in /etc/ld.so.conf.d/

    The contents of /etc/ld.so.conf.d/ice.conf will be something like
    Code:
    /opt/Ice-3.4.1/lib
    Save the file and run ldconfig.

  4. #4
    W4NTED is offline Registered User
    Name: Aissani Mehdi
    Organization: W4NTED.NET
    Project: W4NTED PROJECT
    Join Date
    Jan 2011
    Posts
    12
    OMG you rocks !!!

    Ice is now on phpinfo.

    I have a last question:

    There is nothing on Directive Local Value Master Value
    It is Normal ?

    Tou can look it on my phpinfo.

    My phpinfo is there:

    PhpInfo

    Thanx A lot .

  5. #5
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    There is nothing on Directive Local Value Master Value
    It is Normal ?
    Ice module don't put any Directive there, that seems normal to me

  6. #6
    W4NTED is offline Registered User
    Name: Aissani Mehdi
    Organization: W4NTED.NET
    Project: W4NTED PROJECT
    Join Date
    Jan 2011
    Posts
    12
    Thanx a lot for your help.
    AFAIK the zeroc staff is always helpfull.

    Have a nice, very very very nice day .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ice 3.4.1 Install Problem "Path too long"
    By Dany2901 in forum Help Center
    Replies: 6
    Last Post: 09-27-2010, 03:28 AM
  2. Centos 5.4 php install issues
    By KingPin in forum Help Center
    Replies: 2
    Last Post: 01-26-2010, 08:16 PM
  3. PHP-ICE install HowTo for Linux
    By princemichi in forum Help Center
    Replies: 2
    Last Post: 01-19-2010, 04:25 PM
  4. An old problem about ICE for PHP installation
    By Shawn Zhang in forum Help Center
    Replies: 2
    Last Post: 07-24-2008, 02:28 AM
  5. PHP and Glacier2 Problem
    By neons in forum Help Center
    Replies: 2
    Last Post: 12-30-2007, 10:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •