Doc #76655 [NEW]: libsodium seems not present

From: Date: Mon, 23 Jul 2018 07:44:54 +0000
Subject: Doc #76655 [NEW]: libsodium seems not present
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15919@lists.php.net to get a copy of this message
From:             it-solutions at schultz dot ch
Operating system: Linux / Windows
PHP version:      7.2.8
Package:          *Encryption and hash functions
Bug Type:         Documentation Problem
Bug description:libsodium seems not present

Description:
------------
Although PHP announced that with PHP 7.2 libsodium will be part of the
PHP core and available without any further action (see
https://secure.php.net/manual/en/sodium.installation.php),
even in the
latest PHP 7.2.8 it seems not to be accessible.

There are numerous reports on this issue on the web, some suggesting to
install older libs (7.1) instead.

I suggest the documentation clarifies, under which circumstances this
new (and eagerly awaited) feature is available "out of the box" (or what
steps need to be taken to do so).




Test script:
---------------
<?php 
echo (SODIUM_LIBRARY_VERSION);
?>

Expected result:
----------------
shows library version number (which is stored in the named constant, see
https://secure.php.net/manual/en/sodium.constants.php
)

Actual result:
--------------
shows the literal "SODIUM_LIBRARY_VERSION", so the constant is actually
not existing

-- 
Edit bug report at https://bugs.php.net/bug.php?id=76655&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=76655&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=76655&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=76655&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=76655&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=76655&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=76655&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=76655&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=76655&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=76655&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=76655&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=76655&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=76655&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=76655&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76655&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=76655&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=76655&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=76655&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76655&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=76655&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=76655&r=mysqlcfg



Thread (3 messages)

« previous php.doc.bugs (#15919) next »