Linux Help

Discussion in 'Site & Server Administration' started by keen2learn, May 3, 2011.

  1. #1
    I need help deleting the x86 so i can smoothly configure x86-64.

    Any linux experts about?
     
    keen2learn, May 3, 2011 IP
  2. anands

    anands Well-Known Member

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #2
    anands, May 3, 2011 IP
  3. keen2learn

    keen2learn Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have done that but in order for me to edit the php.ini file i need to delate the other version or it will open that instead and i do not know how to do that.
     
    keen2learn, May 3, 2011 IP
  4. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #4
    The loader should be located in /usr/local/ioncube directory. You can remove the wrong version, though this is not necessary. Just download the correct one and modify php.ini accordingly. For installation instructions please see http://www.ioncube.com/loader_installation.php. Good luck!
     
    Intermg, May 4, 2011 IP
  5. keen2learn

    keen2learn Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Like i said when i try to modify php.ini it is modifying the wrong version since its still on the system and i have no idea how to delate it.

    P.S If anyone has teamviewer please PM me i could really do with hands on assistance.
     
    keen2learn, May 4, 2011 IP
  6. darvil

    darvil Active Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #6
    What do you mean "it is modifying the wrong version"?

    You're the one doing the modification.. just change the path to the new ioncube files with 64bit.
     
    darvil, May 4, 2011 IP
  7. keen2learn

    keen2learn Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    root@cserver1 [~]# tar zfx ioncube_loaders_lin_x86-64.tar.gz
    root@cserver1 [~]# mv ioncube /usr/local
    mv: cannot move `ioncube' to a subdirectory of itself, `/usr/local/ioncube'
    root@cserver1 [~]# php -i | grep php.ini
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so: /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Configuration File (php.ini) Path => /usr/local/lib
    Loaded Configuration File => /usr/local/lib/php.ini
     
    keen2learn, May 4, 2011 IP
  8. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #8
    Clean up ioncube directory first:

    cd /usr/local/ioncube
    rm -f ioncube*

    Then jump back to the directory where "ioncube_loaders_lin_x86-64.tar.gz" file is located and do this:

    tar zfx ioncube_loaders_lin_x86-64.tar.gz
    cd ioncube
    cp -R * /usr/local/ioncube

    This should do the trick, provided you have already modified php.ini as per instructions at http://www.ioncube.com/loader_installation.php

    PS Don't forget to restart Apache. :)
     
    Intermg, May 4, 2011 IP
  9. keen2learn

    keen2learn Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    rm -rf /usr/local/ioncube
    rmdir /usr/local/ioncube
    Recursively removed everything in directory, then reinstalled tar zfx ioncube_loaders_lin_x86-64.tar.gz

    this can be close :)
     
    keen2learn, May 4, 2011 IP
  10. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #10
    rm -R /usr/local/ioncube
    tar zfx ioncube_loaders_lin_x86-64.tar.gz
    mv ioncube /usr/local

    Even close. :p
     
    Intermg, May 4, 2011 IP