Problem with Ion cube loader

Discussion in 'PHP' started by lapidus, Sep 6, 2011.

  1. #1
    Hello

    I need to upload ion cube loader on my VPS server via SSH( i use Putty ) and i have some errors there.

    Here is a tutorial how to do that : http://kaliphonia.com/content/linux/how-to-install-ioncube-loaders-on-linux-server

    But when i go to this step : cp ioncube/ioncube_loader_lin_5.1.so /usr/lib/php/modules/

    after that i have message : Cannot create regular file Permission denied


    Can somebody tell me where is a problem,i can't finish this installation becasue of this problem. Thanks
     
    lapidus, Sep 6, 2011 IP
  2. gvre

    gvre Member

    Messages:
    35
    Likes Received:
    6
    Best Answers:
    3
    Trophy Points:
    33
    #2
    The problem is that you cannot write to /usr/lib/php/modules/ . You have to execute this command as root (or with sudo).
     
    gvre, Sep 7, 2011 IP