hash(): Unknown hashing algorithm: fnv1a64










2















i have strange problem and cant find solution in google, i have php script and im getting that error.



on my server there are:
1. Centos 7 64bit
2. Vesta CP
and php version




PHP 5.5.28 (cli) (built: Aug 6 2015 08:53:05)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies




Im getting that error




hash(): Unknown hashing algorithm: fnv1a64




here is code example



if (!empty($settings)) 
return hash('fnv1a64', trim($settings->purchase_code));










share|improve this question
























  • Run hash_algos() to see what you have available.

    – Alex Howansky
    Nov 14 '18 at 21:09











  • already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

    – Lasha Pareshishvili
    Nov 14 '18 at 21:11






  • 1





    Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

    – Mike 'Pomax' Kamermans
    Nov 14 '18 at 21:12












  • i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

    – Lasha Pareshishvili
    Nov 14 '18 at 21:15











  • PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

    – miken32
    Nov 14 '18 at 21:21















2















i have strange problem and cant find solution in google, i have php script and im getting that error.



on my server there are:
1. Centos 7 64bit
2. Vesta CP
and php version




PHP 5.5.28 (cli) (built: Aug 6 2015 08:53:05)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies




Im getting that error




hash(): Unknown hashing algorithm: fnv1a64




here is code example



if (!empty($settings)) 
return hash('fnv1a64', trim($settings->purchase_code));










share|improve this question
























  • Run hash_algos() to see what you have available.

    – Alex Howansky
    Nov 14 '18 at 21:09











  • already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

    – Lasha Pareshishvili
    Nov 14 '18 at 21:11






  • 1





    Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

    – Mike 'Pomax' Kamermans
    Nov 14 '18 at 21:12












  • i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

    – Lasha Pareshishvili
    Nov 14 '18 at 21:15











  • PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

    – miken32
    Nov 14 '18 at 21:21













2












2








2


1






i have strange problem and cant find solution in google, i have php script and im getting that error.



on my server there are:
1. Centos 7 64bit
2. Vesta CP
and php version




PHP 5.5.28 (cli) (built: Aug 6 2015 08:53:05)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies




Im getting that error




hash(): Unknown hashing algorithm: fnv1a64




here is code example



if (!empty($settings)) 
return hash('fnv1a64', trim($settings->purchase_code));










share|improve this question
















i have strange problem and cant find solution in google, i have php script and im getting that error.



on my server there are:
1. Centos 7 64bit
2. Vesta CP
and php version




PHP 5.5.28 (cli) (built: Aug 6 2015 08:53:05)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies




Im getting that error




hash(): Unknown hashing algorithm: fnv1a64




here is code example



if (!empty($settings)) 
return hash('fnv1a64', trim($settings->purchase_code));







php algorithm hash localhost






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 21:46









Funk Forty Niner

1




1










asked Nov 14 '18 at 21:04









Lasha PareshishviliLasha Pareshishvili

289




289












  • Run hash_algos() to see what you have available.

    – Alex Howansky
    Nov 14 '18 at 21:09











  • already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

    – Lasha Pareshishvili
    Nov 14 '18 at 21:11






  • 1





    Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

    – Mike 'Pomax' Kamermans
    Nov 14 '18 at 21:12












  • i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

    – Lasha Pareshishvili
    Nov 14 '18 at 21:15











  • PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

    – miken32
    Nov 14 '18 at 21:21

















  • Run hash_algos() to see what you have available.

    – Alex Howansky
    Nov 14 '18 at 21:09











  • already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

    – Lasha Pareshishvili
    Nov 14 '18 at 21:11






  • 1





    Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

    – Mike 'Pomax' Kamermans
    Nov 14 '18 at 21:12












  • i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

    – Lasha Pareshishvili
    Nov 14 '18 at 21:15











  • PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

    – miken32
    Nov 14 '18 at 21:21
















Run hash_algos() to see what you have available.

– Alex Howansky
Nov 14 '18 at 21:09





Run hash_algos() to see what you have available.

– Alex Howansky
Nov 14 '18 at 21:09













already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

– Lasha Pareshishvili
Nov 14 '18 at 21:11





already run and i dont have that algo available and is it possible to enable/install that algo? i have root access on my server

– Lasha Pareshishvili
Nov 14 '18 at 21:11




1




1





Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

– Mike 'Pomax' Kamermans
Nov 14 '18 at 21:12






Is this your code? If so, why did you pick 'fnv1a64' as argument to hash() in the first place? If not, can you explain where you got this code?

– Mike 'Pomax' Kamermans
Nov 14 '18 at 21:12














i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

– Lasha Pareshishvili
Nov 14 '18 at 21:15





i purchase script from codecanyon and author has that code to verify purchase code and thats because i cant remove it, if i remove that script not working

– Lasha Pareshishvili
Nov 14 '18 at 21:15













PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

– miken32
Nov 14 '18 at 21:21





PHP 5.5 has been end of life more than two years now. Stop using it, it's unsafe.

– miken32
Nov 14 '18 at 21:21












1 Answer
1






active

oldest

votes


















3














The fnv1a64 hash was not added until 5.6.0. You can use fnv164 however.



See the changelog referencing bug 66698.






share|improve this answer























  • so without upgrading from 5.5 to 5.6 i have no way yes?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:17











  • You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

    – Alex Howansky
    Nov 14 '18 at 21:18











  • i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:37











  • now its okay, i restart my server and hash working fine! thanks!!

    – Lasha Pareshishvili
    Nov 14 '18 at 21:42











  • @LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

    – Funk Forty Niner
    Nov 14 '18 at 21:43











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53308699%2fhash-unknown-hashing-algorithm-fnv1a64%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














The fnv1a64 hash was not added until 5.6.0. You can use fnv164 however.



See the changelog referencing bug 66698.






share|improve this answer























  • so without upgrading from 5.5 to 5.6 i have no way yes?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:17











  • You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

    – Alex Howansky
    Nov 14 '18 at 21:18











  • i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:37











  • now its okay, i restart my server and hash working fine! thanks!!

    – Lasha Pareshishvili
    Nov 14 '18 at 21:42











  • @LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

    – Funk Forty Niner
    Nov 14 '18 at 21:43
















3














The fnv1a64 hash was not added until 5.6.0. You can use fnv164 however.



See the changelog referencing bug 66698.






share|improve this answer























  • so without upgrading from 5.5 to 5.6 i have no way yes?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:17











  • You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

    – Alex Howansky
    Nov 14 '18 at 21:18











  • i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:37











  • now its okay, i restart my server and hash working fine! thanks!!

    – Lasha Pareshishvili
    Nov 14 '18 at 21:42











  • @LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

    – Funk Forty Niner
    Nov 14 '18 at 21:43














3












3








3







The fnv1a64 hash was not added until 5.6.0. You can use fnv164 however.



See the changelog referencing bug 66698.






share|improve this answer













The fnv1a64 hash was not added until 5.6.0. You can use fnv164 however.



See the changelog referencing bug 66698.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 14 '18 at 21:13









Alex HowanskyAlex Howansky

36.6k55683




36.6k55683












  • so without upgrading from 5.5 to 5.6 i have no way yes?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:17











  • You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

    – Alex Howansky
    Nov 14 '18 at 21:18











  • i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:37











  • now its okay, i restart my server and hash working fine! thanks!!

    – Lasha Pareshishvili
    Nov 14 '18 at 21:42











  • @LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

    – Funk Forty Niner
    Nov 14 '18 at 21:43


















  • so without upgrading from 5.5 to 5.6 i have no way yes?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:17











  • You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

    – Alex Howansky
    Nov 14 '18 at 21:18











  • i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

    – Lasha Pareshishvili
    Nov 14 '18 at 21:37











  • now its okay, i restart my server and hash working fine! thanks!!

    – Lasha Pareshishvili
    Nov 14 '18 at 21:42











  • @LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

    – Funk Forty Niner
    Nov 14 '18 at 21:43

















so without upgrading from 5.5 to 5.6 i have no way yes?

– Lasha Pareshishvili
Nov 14 '18 at 21:17





so without upgrading from 5.5 to 5.6 i have no way yes?

– Lasha Pareshishvili
Nov 14 '18 at 21:17













You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

– Alex Howansky
Nov 14 '18 at 21:18





You might try applying the patch from the bug ticket and recompiling 5.5.28 from source, but considering that 5.5 was end-of-lifed over two years ago, you should upgrade.

– Alex Howansky
Nov 14 '18 at 21:18













i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

– Lasha Pareshishvili
Nov 14 '18 at 21:37





i just upgrade to 5.6 but still have same problem hash(): Unknown hashing algorithm: fnv1a64, is there way to resolve that?

– Lasha Pareshishvili
Nov 14 '18 at 21:37













now its okay, i restart my server and hash working fine! thanks!!

– Lasha Pareshishvili
Nov 14 '18 at 21:42





now its okay, i restart my server and hash working fine! thanks!!

– Lasha Pareshishvili
Nov 14 '18 at 21:42













@LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

– Funk Forty Niner
Nov 14 '18 at 21:43






@LashaPareshishvili So now it works. Was this based on this comment I left under your question? Edit: Seeing your comment, that's what it was.

– Funk Forty Niner
Nov 14 '18 at 21:43




















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53308699%2fhash-unknown-hashing-algorithm-fnv1a64%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

Museum of Modern and Contemporary Art of Trento and Rovereto