Phpmyadmin: how to disable the internet. phpmyadmin: how to disable the Internet _ PHP Tutorial

Source: Internet
Author: User
Phpmyadmin disables the Internet. Phpmyadmin: how to disable the Internet in phpmyadmin. phpmyadmin: how to disable the Internet in phpmyadmin. Share it with you for your reference. The specific method is as follows: phpmyadmin disables the internet. phpmyadmin disables the Internet.

This document describes how to disable the Internet in phpmyadmin. Share it with you for your reference. The specific method is as follows:

First, find phpmyadmin. conf in The phpmyadmin folder.
See the following configuration section in the file:

The code is as follows:


Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny, Allow
Deny from all
Allow from 127.0.0.1

Deny from all indicates that all access is prohibited, but access from 127.0.0.1 is allowed.
Then we will delete Allow from 127.0.0.1
And change Deny from all to Allow from all.
This means that access from all addresses is allowed.

Save the modified configuration file and restart the server to access it with the domain name.

Forbidden
You don't have permission to access/phpMyAdmin/index. php on this server.
In this case, open httpd. conf of apache and set

The code is as follows:


Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all

Change

The code is as follows:


Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from None


You can.

I hope this article will help you with PHP programming.


How does phpmyadmin set a domain name for Internet access?

First, open the LAN access configuration file: Select Apachehttpd. conf searches for the keyword deny from, and finds a row of Allow from 127.0.0.1 under a deny from, and then modifies 127.0.0.1 to all, that is, Allow from all allows access by anyone, restart the apache service to allow Internet access. Second. open the external access permission of phpmyadmin (this function can be opened as needed, and is not recommended for database security), find the alias directory in the WAMP installation directory, and modify phpmyadmin. conf configuration file, same as httpd. change Allow from 127.0.0.1 to: Allow from all. Third, you must enter the user name and password to log on to the database, and modify the configuration file: config. inc. first, modify the database password for php. after installation, click phpmyadmin in the WAMP tray icon to enter the database. in the middle of the phpmyadmin page, click "permissions" to see "User Overview ", there is a line of user information below, namely the line rootlocalhost. click the "Edit permission" icon on the rightmost side of the line, find "change password" on the new page, and set the password for the root user, click "execute ". Then modify the configuration file: config. inc. php. the file path is \ wamp \ apps \ phpmyadmin3.1.1, find $ cfg [''servers'] [$ I] [''password''] = ''''; modify $ cfg [''servers'] [$ I] [''password''] = ''your password ''. open phpmyadmin again to complete the access. |! Q $ m't + P g3 r] 8 u continue, config. inc. php: $ cfg ['servers'] [$ I] ['auth _ type'] = 'config '; change to $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker'. Then, add a line below this line: $ cfg ['blowfish _ secret'] = 'fslk3xkl319sf '; you can enter any letter or number in the quotation marks.

How can I make people on the internet fail to log on to my phpmyadmin page?

Modify the URL jump in the CONFIG file under PHPMYADMIN .. In this way, the Internet will jump!

Examples in this article describes how to disable Internet use in phpmyadmin. Share it with you for your reference. The specific method is as follows :...

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.