Announcement

Collapse
No announcement yet.

How to add bcrypt to CloudLinux?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add bcrypt to CloudLinux?

    Im running PHP Version 5.6.21 but I need to install bcrypt. I tried yum and got this result:

    Code:
    yum update bcrypt
    
    Loaded plugins: fastestmirror, rhnplugin
    
    Setting up Update Process
    
    Loading mirror speeds from cached hostfile
    
    * cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
    
    No Match for argument: bcrypt
    
    No package bcrypt available.
    
    No Packages marked for Update
    Is there a different way to get bcrypt?

    Thanks~

  • #2
    Hello,

    You can install bcrypt the same way as on regular CentOS system. You can refer, for example, to this thread:

    I'm trying to install bcrypt on CentOS server but I got the following error: info postuninstall bcrypt@0.5.0 ERR! bcrypt@0.5.0 install: `make build` ERR! `sh "-c" "make build"` failed with 2 ERR! ...

    Comment


    • #3
      Ah, thanks for your help. Im following that info on the page and trying to install node-gyp by doing npm install -g node-gyp. But I get this response:

      Code:
      # install -g node-gyp
      
      install: missing file operand
      
      Try `install --help for more information.
      Code:
      # sudo yum install npm
      
      Loaded plugins: fastestmirror, rhnplugin
      
      Setting up Install Process
      
      Loading mirror speeds from cached hostfile
      
      * cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
      
      No package npm available.
      
      Error: Nothing to do
      Any ideas how to add npm?

      Comment


      • #4
        Hello,

        Im sorry for a misleading information provided.

        Could you please describe in more details what exactly are you trying to achieve? There is no separate bcrypt module for PHP, as bcrypt algorithm is already present in PHP: http://php.net/manual/en/function.password-hash.php

        Comment

        Working...
        X