Installing mongodb php7 extension version 1.5.0 in ubuntu server Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Ubuntu server 12.04 dependency issues when attempting updateUnable install cmake and ccmake?Why did my PHP5.5 upgrade fail?How can I fix this dependency issue that broke Makerware with my last update?Unable to locate pipelight-multi packageWhy doesn't adding the Kubuntu backports ppa allow me to get the latest KDE version?Unable to locate package mysql-serverAttempting to install php-zip - getting libzip4 dependancy (>=1.0) error even though I have 1.0.1 installedHow to install MongoDB 3.0 in Ubuntu 18
How to run automated tests after each commit?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
How do living politicians protect their readily obtainable signatures from misuse?
Where is the Data Import Wizard Error Log
In musical terms, what properties are varied by the human voice to produce different words / syllables?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Most bit efficient text communication method?
How could we fake a moon landing now?
Project Euler #1 in C++
Random body shuffle every night—can we still function?
Misunderstanding of Sylow theory
Customizing QGIS plugins
What is the meaning of 'breadth' in breadth first search?
What order were files/directories output in dir?
What does it mean that physics no longer uses mechanical models to describe phenomena?
What to do with repeated rejections for phd position
What does this say in Elvish?
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
How does the math work when buying airline miles?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
Induction Proof for Sequences
Is there public access to the Meteor Crater in Arizona?
Why is it faster to reheat something than it is to cook it?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Installing mongodb php7 extension version 1.5.0 in ubuntu server
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Ubuntu server 12.04 dependency issues when attempting updateUnable install cmake and ccmake?Why did my PHP5.5 upgrade fail?How can I fix this dependency issue that broke Makerware with my last update?Unable to locate pipelight-multi packageWhy doesn't adding the Kubuntu backports ppa allow me to get the latest KDE version?Unable to locate package mysql-serverAttempting to install php-zip - getting libzip4 dependancy (>=1.0) error even though I have 1.0.1 installedHow to install MongoDB 3.0 in Ubuntu 18
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I installed mongodb php extension using apt-get install php7.0-mongodb
when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0
So, I tried apt-get install php7.0-mongodb=1.5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.0' for 'php7.0-mongodb' was not found
how can I install version 1.5.0?
I am using ubuntu 16, php7.0
apt php mongodb
add a comment |
I installed mongodb php extension using apt-get install php7.0-mongodb
when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0
So, I tried apt-get install php7.0-mongodb=1.5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.0' for 'php7.0-mongodb' was not found
how can I install version 1.5.0?
I am using ubuntu 16, php7.0
apt php mongodb
add a comment |
I installed mongodb php extension using apt-get install php7.0-mongodb
when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0
So, I tried apt-get install php7.0-mongodb=1.5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.0' for 'php7.0-mongodb' was not found
how can I install version 1.5.0?
I am using ubuntu 16, php7.0
apt php mongodb
I installed mongodb php extension using apt-get install php7.0-mongodb
when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0
So, I tried apt-get install php7.0-mongodb=1.5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.0' for 'php7.0-mongodb' was not found
how can I install version 1.5.0?
I am using ubuntu 16, php7.0
apt php mongodb
apt php mongodb
asked Aug 23 '18 at 13:00
new_usernew_user
1013
1013
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
There is no package namedphp7.0-mongodb.
But php-mongodb exists.
You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.
So the correct command would be:
sudo apt-get install php-mongodb
when Iapt-get install php7.0-mongodbin my machine. It said:php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0.apt-get install php7.0-mongodb=1.4.0gave me:Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found
– new_user
Aug 24 '18 at 6:32
add a comment |
To get the newest version of php-mongodb you need to install it using perc.
- sudo apt install php-pear (this will install perc)
- sudo apt install php-dev
- sudo pecl install mongodb
After executing these commands you should have the newest available mongodb extension installed on your system.
- The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
That's all!
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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%2f1068194%2finstalling-mongodb-php7-extension-version-1-5-0-in-ubuntu-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is no package namedphp7.0-mongodb.
But php-mongodb exists.
You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.
So the correct command would be:
sudo apt-get install php-mongodb
when Iapt-get install php7.0-mongodbin my machine. It said:php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0.apt-get install php7.0-mongodb=1.4.0gave me:Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found
– new_user
Aug 24 '18 at 6:32
add a comment |
There is no package namedphp7.0-mongodb.
But php-mongodb exists.
You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.
So the correct command would be:
sudo apt-get install php-mongodb
when Iapt-get install php7.0-mongodbin my machine. It said:php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0.apt-get install php7.0-mongodb=1.4.0gave me:Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found
– new_user
Aug 24 '18 at 6:32
add a comment |
There is no package namedphp7.0-mongodb.
But php-mongodb exists.
You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.
So the correct command would be:
sudo apt-get install php-mongodb
There is no package namedphp7.0-mongodb.
But php-mongodb exists.
You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.
So the correct command would be:
sudo apt-get install php-mongodb
answered Aug 23 '18 at 13:30
N0rbertN0rbert
25.7k855122
25.7k855122
when Iapt-get install php7.0-mongodbin my machine. It said:php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0.apt-get install php7.0-mongodb=1.4.0gave me:Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found
– new_user
Aug 24 '18 at 6:32
add a comment |
when Iapt-get install php7.0-mongodbin my machine. It said:php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0.apt-get install php7.0-mongodb=1.4.0gave me:Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found
– new_user
Aug 24 '18 at 6:32
when I
apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found– new_user
Aug 24 '18 at 6:32
when I
apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found– new_user
Aug 24 '18 at 6:32
add a comment |
To get the newest version of php-mongodb you need to install it using perc.
- sudo apt install php-pear (this will install perc)
- sudo apt install php-dev
- sudo pecl install mongodb
After executing these commands you should have the newest available mongodb extension installed on your system.
- The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
That's all!
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
To get the newest version of php-mongodb you need to install it using perc.
- sudo apt install php-pear (this will install perc)
- sudo apt install php-dev
- sudo pecl install mongodb
After executing these commands you should have the newest available mongodb extension installed on your system.
- The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
That's all!
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
To get the newest version of php-mongodb you need to install it using perc.
- sudo apt install php-pear (this will install perc)
- sudo apt install php-dev
- sudo pecl install mongodb
After executing these commands you should have the newest available mongodb extension installed on your system.
- The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
That's all!
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
To get the newest version of php-mongodb you need to install it using perc.
- sudo apt install php-pear (this will install perc)
- sudo apt install php-dev
- sudo pecl install mongodb
After executing these commands you should have the newest available mongodb extension installed on your system.
- The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
That's all!
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 1 hour ago
NologNolog
1
1
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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%2f1068194%2finstalling-mongodb-php7-extension-version-1-5-0-in-ubuntu-server%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