phpcryptographypearlibsodium

Using Libsodium with PHP on WAMP


I'm having really hard trouble installing libsodium on my local server (WAMP64).

I used this guide and many others, but still no luck.

I successfully installed PEAR but I can't use it to install the PHP wrapper of libsodium. Can someone post a little guide step by step to help me?

ERROR: The DSP libsodium.dsp does not exist.

I would appreciate help installing Halite, wich needs libsodium, because maybe it will be my next step.

Thank you everyone.


Solution

  • Do Not Try To Install Pecl Extensions On Windows With Pear/Pecl. It Will Not Work.

    Rather use pre-compiled .dll file.


    The guide page even says so:

    Installing Libsodium and the PHP Extension on Windows

    On Windows, download the appropriate zip file for your version of PHP and then follow these three steps.