phpMyAdmin is showing “The mysqli extension is missing. ”?
I have been trying to install phpmyadmin for a while, and i always face the same error
I downloaded php7.0 and mysql-server-5.7
I also choose Apache2 and unix socket in the configuration process
Also tried adding Include /etc/phpmyadmin/apache.conf
to the end of the file solution
and when I try to open the http://localhost/phpadmin
it shows this error
The mysqli extension is missing. Please check your PHP configuration.
See our documentation for more information.
Any help?
PHP MY Admin Error
server apache2 mysql php phpmyadmin
add a comment |
I have been trying to install phpmyadmin for a while, and i always face the same error
I downloaded php7.0 and mysql-server-5.7
I also choose Apache2 and unix socket in the configuration process
Also tried adding Include /etc/phpmyadmin/apache.conf
to the end of the file solution
and when I try to open the http://localhost/phpadmin
it shows this error
The mysqli extension is missing. Please check your PHP configuration.
See our documentation for more information.
Any help?
PHP MY Admin Error
server apache2 mysql php phpmyadmin
1
How did you download and installphp7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?
– Thomas Ward♦
Apr 11 '17 at 0:57
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07
add a comment |
I have been trying to install phpmyadmin for a while, and i always face the same error
I downloaded php7.0 and mysql-server-5.7
I also choose Apache2 and unix socket in the configuration process
Also tried adding Include /etc/phpmyadmin/apache.conf
to the end of the file solution
and when I try to open the http://localhost/phpadmin
it shows this error
The mysqli extension is missing. Please check your PHP configuration.
See our documentation for more information.
Any help?
PHP MY Admin Error
server apache2 mysql php phpmyadmin
I have been trying to install phpmyadmin for a while, and i always face the same error
I downloaded php7.0 and mysql-server-5.7
I also choose Apache2 and unix socket in the configuration process
Also tried adding Include /etc/phpmyadmin/apache.conf
to the end of the file solution
and when I try to open the http://localhost/phpadmin
it shows this error
The mysqli extension is missing. Please check your PHP configuration.
See our documentation for more information.
Any help?
PHP MY Admin Error
server apache2 mysql php phpmyadmin
server apache2 mysql php phpmyadmin
edited Apr 11 '17 at 17:49
TheGrimBoo
asked Apr 11 '17 at 0:09
TheGrimBooTheGrimBoo
1315
1315
1
How did you download and installphp7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?
– Thomas Ward♦
Apr 11 '17 at 0:57
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07
add a comment |
1
How did you download and installphp7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?
– Thomas Ward♦
Apr 11 '17 at 0:57
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07
1
1
How did you download and install
php7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?– Thomas Ward♦
Apr 11 '17 at 0:57
How did you download and install
php7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?– Thomas Ward♦
Apr 11 '17 at 0:57
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07
add a comment |
2 Answers
2
active
oldest
votes
You need to install the software php-mysql
. This will install php7.0
's MySQL interface libraries to the proper locations.
You can install it with: sudo apt-get install php-mysql
After installation, restart your Apache2 instance - sudo systemctl restart apache2
PHP should then detect the mysql and mysqli libraries.
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
add a comment |
I finally found that I have to specify the version number of the extension to make it work:
apt-get install php7.2-mysql
Because I had upgraded PHP from 5.6 to 7.2
New contributor
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%2f903390%2fphpmyadmin-is-showing-the-mysqli-extension-is-missing%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
You need to install the software php-mysql
. This will install php7.0
's MySQL interface libraries to the proper locations.
You can install it with: sudo apt-get install php-mysql
After installation, restart your Apache2 instance - sudo systemctl restart apache2
PHP should then detect the mysql and mysqli libraries.
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
add a comment |
You need to install the software php-mysql
. This will install php7.0
's MySQL interface libraries to the proper locations.
You can install it with: sudo apt-get install php-mysql
After installation, restart your Apache2 instance - sudo systemctl restart apache2
PHP should then detect the mysql and mysqli libraries.
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
add a comment |
You need to install the software php-mysql
. This will install php7.0
's MySQL interface libraries to the proper locations.
You can install it with: sudo apt-get install php-mysql
After installation, restart your Apache2 instance - sudo systemctl restart apache2
PHP should then detect the mysql and mysqli libraries.
You need to install the software php-mysql
. This will install php7.0
's MySQL interface libraries to the proper locations.
You can install it with: sudo apt-get install php-mysql
After installation, restart your Apache2 instance - sudo systemctl restart apache2
PHP should then detect the mysql and mysqli libraries.
edited Apr 11 '17 at 18:20
answered Apr 11 '17 at 17:15
Thomas Ward♦Thomas Ward
44.7k23124177
44.7k23124177
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
add a comment |
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
it worked and now I can open the local host but there is another problem appeared, I updated the question with a screen shot
– TheGrimBoo
Apr 11 '17 at 17:48
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
@HwangHeeRa_Gogo That's a different issue, so you need to open a different question.
– Thomas Ward♦
Apr 11 '17 at 18:20
add a comment |
I finally found that I have to specify the version number of the extension to make it work:
apt-get install php7.2-mysql
Because I had upgraded PHP from 5.6 to 7.2
New contributor
add a comment |
I finally found that I have to specify the version number of the extension to make it work:
apt-get install php7.2-mysql
Because I had upgraded PHP from 5.6 to 7.2
New contributor
add a comment |
I finally found that I have to specify the version number of the extension to make it work:
apt-get install php7.2-mysql
Because I had upgraded PHP from 5.6 to 7.2
New contributor
I finally found that I have to specify the version number of the extension to make it work:
apt-get install php7.2-mysql
Because I had upgraded PHP from 5.6 to 7.2
New contributor
New contributor
answered 10 hours ago
OmiodOmiod
1113
1113
New contributor
New contributor
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%2f903390%2fphpmyadmin-is-showing-the-mysqli-extension-is-missing%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
1
How did you download and install
php7.0
? From source code, or from a PPA? Or from the repositories? What Ubuntu version are you on?– Thomas Ward♦
Apr 11 '17 at 0:57
I downloaded it using repository. I am on ubuntu 16.04 LTS
– TheGrimBoo
Apr 11 '17 at 17:07