paragonie / pecl-libsodium-doc

Free Online Documentation for the Libsodium PHP Extension
https://paragonie.com/book/pecl-libsodium
Creative Commons Attribution 4.0 International
88 stars 11 forks source link

using on webserver without install ? #21

Open sherifomran opened 4 years ago

sherifomran commented 4 years ago

i have a webserver with php 7.3.11 but it seems libsodium is not installed. is there a way to include a file instead of installing the library ? i don't have access to the shell terminal

paragonie-security commented 4 years ago

On your local machine, use Composer to install sodium_compat.

Then, use FTP / SFTP to copy your vendor/ directory to your remote server.

Finally, consider moving to a hosting provider that gives you shell access (such as a virtual private server) but if you can't, at least you can still get a polyfilled libsodium.