How to install Zend opt on dedicated server?

Discussion in 'Site & Server Administration' started by fracmo, Aug 29, 2008.

  1. #1
    Hit some problems when transfering my website over (i use mfhs)

    i exported my sql db from old host
    backed up the database in mfhs (on old host)
    installed the script (new host)
    created a new sql db and imported the sql db from old host to new host
    backed up the db in mfhs

    the small quick links box on the right has no details in it (members etc) when i goto members > list members...it throws up this error:

    Zend� 2000112002�1�15416�85721�xù Ÿ2 í}ko\Ç‘è@æ ix÷þ¸`QÞHÔé÷9²È@¶äÄXÇv$y¹I gɉ†3¼ó°¬]Üÿ~ûqý¬Ó$íì~Ø QHvîªê®êêªêj5ïëéåxýüùâõû~‘ËÝ~¾¿¼|4Ï7ͦ=ðâ„¢ä J5òÔÌ3ê%f^Ÿ-VõÜìÏÜÖrôÍwož=ÿÃ7ß}hø§äàNËÎ"è¤ùúŽúèNh£f¯ùMû[;¼oûÞÁA)ˆ‹éìíxºÛÕ—W»zþ©ÓÓÌ?†Mg; €ŒþØÌùÇÁ‹t‡¨Ý]C·¹*ßFŸŽŠ;mŸî’[®Ï+s¬ð)Ô'(Ôœ9âs¡,

    Somebody had mentioned:

    "Do you use Zend version of MFHS on new server? If yes, please install Zend opt. on your server"

    I have done a few searches on Zend opt...does anybody know how to install it? I have a dedicated server with whm/cpanel installed..any ideas would be great!

    Cheers!
     
    fracmo, Aug 29, 2008 IP
  2. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    After a quick google search I see its used for caching of files.

    I also found this:

    install IonCube:
    ==================================
    wget http://downloads2.ioncube.com/loader...lin_x86.tar.gz
    tar zfx ioncube_loaders_lin_x86.tar.gz
    cd ioncube
    #### replace below with the version tree you have (I will use 4.4)
    cp ioncube_loader_lin_4.4.so /usr/local/lib/php/extensions
    Code (markup):
    ==================================
    Add this line BEFORE any other zend_extension (e.g. Zend Optimizer or eAccelerator).
    (#### replace below with the version tree you have (I will use 4.4))

    zend_extension = /usr/local/lib/php/extensions/ioncube_loader_lin_4.4.so
    Code (markup):
    ==================================

    Install Zend Optimizer:
    ==================================
    wget http://downloads.zend.com/optimizer/...21-i386.tar.gz
    tar zfx ZendOptimizer-3.2.6-linux-glibc21-i386.tar.gz
    cd ZendOptimizer-3.2.6-linux-glibc21-i386
    ./install.sh
    Code (markup):
    ==================================

    Do I login as root via putty for example, then stick in that command? Im a little lost!

    Thanks in advance
     
    fracmo, Aug 29, 2008 IP
  3. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can compile all that you need in whm go to apache update and recompile your apache with zend ion cube eAccelerator very easy to do.. just a few clicks and your done..
     
    IwhiC, Aug 29, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    The most easy way is one command as root SSH:
    /scripts/installzendopt
    Code (markup):
    :)

    I hope that helps,

    Jay
     
    jayshah, Aug 30, 2008 IP
  5. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Brilliant! I can now see my users...the last thing to move is the hosted files.

    I moved my data using the wget command, but i was logged in as root at the time...so when im using the file manager (ftp) on my cpanel...i cant see the files. But when i logged into a ftp client as root...they are there.

    This is gonna sounds strange, but i dont know how else to explain it....as a test i moved a few files (pictures) when logged in as root into the "www" folder. When i log into cpanel and check those files moved ok - they are not there?

    Any ideas?
     
    fracmo, Aug 30, 2008 IP
  6. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok, i found winscp...which allowed me to move the files into the correct folder. But i need to change the ownership of the files from root to the cpanel user. Cause when I click on the links...it says there are no files to be found and you are then sent back to the home page.

    Any ideas folks? This is the last step (i hope) and my website will be back up and running!

    i tried logging to ssh as root, navigate to the files folder and used this command:

    chown cpanelusername:cpanelusername * -R

    It didnt work :(

    chown: cannot access `*-R': No such file or directory
     
    fracmo, Aug 30, 2008 IP
  7. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    still cant get this working, tried this command:


    chown -Rv cpanelusername *

    ownership of 'filename.ext' retained as cpanelusername

    But i still cant see the files when I open up file manager in cpanel

    Any help would be great, this the last step in my big move!

    Cheers, thanks in advance :)
     
    fracmo, Aug 30, 2008 IP