New tutorial, phpmyadmin cannot open-php Tutorial

Source: Internet
Author: User
For new users, phpmyadmin cannot enable and enable http: // localhost after appserv is installed. However, a blank page is displayed when http: // localhost/phpmyadmin is opened. Please kindly advise.


Reply to discussion (solution)

Is the database service enabled?

Open the PHP error prompt to see what is prompted.

I started it. after installation, I went in for the first time. After I quit, I couldn't get in.

Php error prompt ?? Where can I see it?

Php error prompt ?? Where can I see it?



Modify php. ini

Display_errors = On

Error_reporting = E_ALL

Save and restart APACHE.

; Error_reporting = E_ALL &~ E_NOTICE | E_STRICT
Are you sure you want to delete all the items behind E?

; Error_reporting = E_ALL &~ E_NOTICE | E_STRICT
Are you sure you want to delete all the items behind E?



Modify according to my settings.
This is an error level. we set it to all.


; Error_reporting = E_ALL &~ E_NOTICE | E_STRICT
Are you sure you want to delete all the items behind E?



Modify according to my settings.
This is an error level. we set it to all.


Don't understand. tell me if it's changed to; error_reporting = E_ALL.

Error_reporting = E_ALL &~ E_NOTICE | E_STRICT
Do not change
Error_reporting = E_ALL ;&~ E_NOTICE | E_STRICT
It can also be changed to this way.

Display_errors = On
This must have

Yes, it's in the on state.

Is the database service enabled?


After I installed it, I can enter it for the first time. After I turned it off, I couldn't enter it ......

What error is reported in the error log? Database error

How can I connect to mysql under the command line? Check the error log.

Create a file in the root directory

Test. php

Echo "test ";
?>

Can I run http: // localhost/test. php?

Create a file in the root directory

Test. php

Echo "test ";
?>

Can I run http: // localhost/test. php?


If there is output, there is no problem as long as the database is not connected. But the connection to the database won't work.


Create a file in the root directory

Test. php

Echo "test ";
?>

Can I run http: // localhost/test. php?


If there is output, there is no problem as long as the database is not connected. But the connection to the database won't work.


You can go to the installation directory and find the mysql bin directory. can you run the command to operate the database?



Create a file in the root directory

Test. php

Echo "test ";
?>

Can I run http: // localhost/test. php?


If there is output, there is no problem as long as the database is not connected. But the connection to the database won't work.


You can go to the installation directory and find the mysql bin directory. can you run the command to operate the database?


No, mysql cannot be opened. the command window will disappear in a flash, and an error will be displayed !!!!!!!!!!
?????????

You are using php. it may not be related to the version! I used to use php6, but this problem also often occurs. then I can change my speech to php5!

It turns out the version does not match. Alas, it has been a headache for so many days. thank you for your help. thank you very much.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.