The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mcrypt

Discussion in 'General Discussion' started by MatthewMKSolutions, Jun 30, 2003.

  1. MatthewMKSolutions

    Joined:
    Aug 11, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I have tried repeatedly to compile php with mycrypt. It shows in phpinfo as being there, but here is what is says:

    mcrypt
    mcrypt support enabled
    version >= 2.4.x
    Supported ciphers none
    Supported modes none

    Directive Local Value Master Value
    mcrypt.algorithms_dir no value no value
    mcrypt.modes_dir no value no value


    Why wont it detect or compile any of these things? I am on RH7.3, CP 6.4.2, PHP 4.3.2

    Thanks!

    cPanel.net Support Ticket Number:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    When you do phpinfo() what is the path to php.ini? Is that the file that you are editing?

    cPanel.net Support Ticket Number:
     
  3. MatthewMKSolutions

    Joined:
    Aug 11, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    The path is /usr/local/Zend/etc/php.ini

    I havent manually edited it at all. I did the easyapache, and installed mcrypt with php that way. Are there additional things I need to adjust in the php.ini file?

    Thanks!

    cPanel.net Support Ticket Number:
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I haven't played with mcrypt before, but I did play with mbstring. All the options are commented out in the case of mbstring. Therefore in order to change them I had to edit php.ini
    You should see

    ;mcrypt.algorithms_dir [some value]
    ;mcrypt.modes_dir [some value]

    in your php.ini file. If you remove the ; you can edit the settings.

    cPanel.net Support Ticket Number:
     
  5. MatthewMKSolutions

    Joined:
    Aug 11, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    There is not one mention of mcrypt in php.ini. Not sure what to do now. :(

    cPanel.net Support Ticket Number:
     
  6. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Did you submit ticket?

    I need to compile mcrypt into apache too, but not sure how to ensure compatibility with Buildapache.. is it in buildapache?

    Brenden

    cPanel.net Support Ticket Number:
     
  7. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    16
    Did you find a solution to this? I have just had this happen with me, Mcrypt just will not compile in properly.

    thanks
     

Share This Page