Code Monkey home page Code Monkey logo

Comments (4)

paragonie-scott avatar paragonie-scott commented on June 2, 2024

The error page is outdated, Airship 2 requires 1.0.13+ rather than 1.0.11.

from airship.

alfalfascout avatar alfalfascout commented on June 2, 2024

I have installed libsodium version 1.0.15 and reinstalled ext-sodium. I also restarted nginx. I'm getting the same page that tells me my libsodium is outdated, though.

Here's a var_dump test script and its result:

<?php
var_dump([
    SODIUM_LIBRARY_MAJOR_VERSION,
    SODIUM_LIBRARY_MINOR_VERSION,
    SODIUM_LIBRARY_VERSION
]);
-----Result:
array(3) {
  [0]=>
  int(10)
  [1]=>
  int(0)
  [2]=>
  string(6) "1.0.15"
}

What else could I have missed?

Edit: I tried making a test phpinfo(); file in airship/src/public to see what could possibly be going wrong, and I got this:

sodium support enabled
libsodium headers version 1.0.11
libsodium library version 1.0.11

strange, because every time I pecl install -f libsodium, there's a line like this:
checking for libsodium... version 1.0.15 found using pkg-config

I feel like someone is messing with me.

from airship.

alfalfascout avatar alfalfascout commented on June 2, 2024

Apparently, restarting the nginx server isn't enough. I also had to manually stop and start the php-fpm service before it would start using the new version of the extension. Now that part is working. Thanks for letting me know that I needed a later version of libsodium.

from airship.

paragonie-scott avatar paragonie-scott commented on June 2, 2024

Oh, right. service nginx restart needs to be accompanied by service php-fpm restart. It's an extra step that LAMP stacks don't require, but FPM setups do.

from airship.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.