PHP Fatal error: sodium_init() in Unknown on line 0Launching php script through comman line - keeping...
Where is this triangular-shaped space station from?
Where was Karl Mordo in Infinity War?
How can I mix up weapons for large groups of similar monsters/characters?
For Loop and Sum
How to satisfy a player character's curiosity about another player character?
What is better: yes / no radio, or simple checkbox?
Predict mars robot position
Why does the DC-9-80 have this cusp in its fuselage?
ip vs ifconfig commands pros and cons
Should I choose Itemized or Standard deduction?
Meth dealer reference in Family Guy
Crystal compensation for temp and voltage
Do authors have to be politically correct in article-writing?
Find the number of ways to express 1050 as sum of consecutive integers
Wanted: 5.25 floppy to usb adapter
What do these brackets mean?
Why is this code uniquely decodable?
How to approximate rolls for potions of healing using only d6's?
Meaning of すきっとした
Table enclosed in curly brackets
Does this pattern of summing polygonal numbers to get a square repeat indefinitely?
How would an AI self awareness kill switch work?
Inventor that creates machine that grabs man from future
How to prepare vegetables for a sandwich that can last for several days in a fridge?
PHP Fatal error: sodium_init() in Unknown on line 0
Launching php script through comman line - keeping terminal window open after executiondowngrade php5 5.5.3 to php5 5.3 in ubuntu 13.10Why do I see cgi source code on my webserver instead of its output?Error: The new file /usr/lib/php/7.0/php.ini-production.cli does not exist!PHP mysqli extension in Ubuntu 16.04 not working after upgrade to version 7.0.6Uninstalled PHP and php -v always returns 7.1.4Apt get install php7.1-dev extension doesn't workcqpweb triggers error “DATABASE CACHE OVERLOAD!”PHP Fatal error when installing mcryptphp installation showing dpkg error
When I run any php script I get an error sodium_init() in Unknown on line 0.
Use Ubuntu 18.04, PHP 7.2.10
Examples:
admin@server:~$ php -v
PHP Fatal error: sodium_init() in Unknown on line 0
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
or Composer:
admin@server:~$ php composer.phar
PHP Fatal error: sodium_init() in Unknown on line 0
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ / __ `__ / __ / __ / ___/ _ / ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
____/____/_/ /_/ /_/ .___/____/____/___/_/
/_/
Composer version 1.8.3 2019-01-30 08:31:33
...
libsodium installed:
php-libsodium/bionic,bionic,now 1.0.6-1build3 amd64 [installed]
libsodium-dev/bionic,now 1.0.16-2 amd64 [installed]
libsodium23/bionic,now 1.0.16-2 amd64 [installed]
18.04 php php7
add a comment |
When I run any php script I get an error sodium_init() in Unknown on line 0.
Use Ubuntu 18.04, PHP 7.2.10
Examples:
admin@server:~$ php -v
PHP Fatal error: sodium_init() in Unknown on line 0
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
or Composer:
admin@server:~$ php composer.phar
PHP Fatal error: sodium_init() in Unknown on line 0
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ / __ `__ / __ / __ / ___/ _ / ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
____/____/_/ /_/ /_/ .___/____/____/___/_/
/_/
Composer version 1.8.3 2019-01-30 08:31:33
...
libsodium installed:
php-libsodium/bionic,bionic,now 1.0.6-1build3 amd64 [installed]
libsodium-dev/bionic,now 1.0.16-2 amd64 [installed]
libsodium23/bionic,now 1.0.16-2 amd64 [installed]
18.04 php php7
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24
add a comment |
When I run any php script I get an error sodium_init() in Unknown on line 0.
Use Ubuntu 18.04, PHP 7.2.10
Examples:
admin@server:~$ php -v
PHP Fatal error: sodium_init() in Unknown on line 0
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
or Composer:
admin@server:~$ php composer.phar
PHP Fatal error: sodium_init() in Unknown on line 0
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ / __ `__ / __ / __ / ___/ _ / ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
____/____/_/ /_/ /_/ .___/____/____/___/_/
/_/
Composer version 1.8.3 2019-01-30 08:31:33
...
libsodium installed:
php-libsodium/bionic,bionic,now 1.0.6-1build3 amd64 [installed]
libsodium-dev/bionic,now 1.0.16-2 amd64 [installed]
libsodium23/bionic,now 1.0.16-2 amd64 [installed]
18.04 php php7
When I run any php script I get an error sodium_init() in Unknown on line 0.
Use Ubuntu 18.04, PHP 7.2.10
Examples:
admin@server:~$ php -v
PHP Fatal error: sodium_init() in Unknown on line 0
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
or Composer:
admin@server:~$ php composer.phar
PHP Fatal error: sodium_init() in Unknown on line 0
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ / __ `__ / __ / __ / ___/ _ / ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
____/____/_/ /_/ /_/ .___/____/____/___/_/
/_/
Composer version 1.8.3 2019-01-30 08:31:33
...
libsodium installed:
php-libsodium/bionic,bionic,now 1.0.6-1build3 amd64 [installed]
libsodium-dev/bionic,now 1.0.16-2 amd64 [installed]
libsodium23/bionic,now 1.0.16-2 amd64 [installed]
18.04 php php7
18.04 php php7
asked Feb 3 at 13:00
VladislavVladislav
1
1
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24
add a comment |
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24
add a comment |
1 Answer
1
active
oldest
votes
sudo apt remove php-libsodium
The modern Sodium cryptography library has now become a core extension in PHP.
http://php.net/manual/en/migration72.new-features.php
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115244%2fphp-fatal-error-sodium-init-in-unknown-on-line-0%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
sudo apt remove php-libsodium
The modern Sodium cryptography library has now become a core extension in PHP.
http://php.net/manual/en/migration72.new-features.php
add a comment |
sudo apt remove php-libsodium
The modern Sodium cryptography library has now become a core extension in PHP.
http://php.net/manual/en/migration72.new-features.php
add a comment |
sudo apt remove php-libsodium
The modern Sodium cryptography library has now become a core extension in PHP.
http://php.net/manual/en/migration72.new-features.php
sudo apt remove php-libsodium
The modern Sodium cryptography library has now become a core extension in PHP.
http://php.net/manual/en/migration72.new-features.php
edited 18 mins ago
answered Feb 23 at 11:52
Sergey FedotovSergey Fedotov
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115244%2fphp-fatal-error-sodium-init-in-unknown-on-line-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Solved problem, when remove php-libsodium package.
– Vladislav
Feb 3 at 13:24