Use Wamp to configure bugfree, Apache + MySQL + PHP, and LAN Access

Source: Internet
Author: User

As mentioned above, let's talk about the installation and configuration of bugfree.

1. MySQL

I have installed the MySQL database and installed it easily. During installation, pay attention to setting the user password as the root password and leave it blank. bugfree will be used in the future.

After installing MySQL, you must install a MySQL Control Center Software for visual management.

Connect to the server first:

Add a database: Right-click the database and choose newdatabase. Enter the Database Name: bugfree2

Right-click the above button, and choose new
User.

Click the Add button in the lower-right corner. If it is correct, the button will change to apply, click Apply, and close. If not. Remember whether your user name and password are incorrect.

2. Wamp

Download from the Internet (right-click thunder ):

Thunder: // token =

Download, install, and use the default one. The final choice is to let you select the root directory of your server, which is the file accessed after the URL is entered. Assume that you specify D:/mywww

After installation, there is a small icon at the tray in the lower right corner of the screen. You can right-click on the top and select the Display language (English at the beginning ).

Click the tray and check whether Apache and MySQL are started. If not, start it.

Create a text file in D:/mywww and enter:


<? Php <br/> phpinfo (); <br/>?>

 

Save and change the file name to index and the suffix to PhP.

Enter localhost in the address bar of the browser to check whether the page information can be obtained. If it indicates that your configuration is correct, if not, check it again.

3. bugfree

Download the latest bugfree package from the official bugfree website. Decompress the package to the specified directory (D:/mywww ).

Enter http: // localhost/install. php In the browser again. This is a bugfree installation file. You need to follow it step by step. If the database is not created, you need to check the database name and username and password on the visual interface of MySQL.

It is relatively simple to write. Leave a message if you do not understand it.

 

PS: I will try again today because it is necessary to use it today. There is no problem with local access, but users in the LAN still cannot access it.

After a series of explorations yesterday, we can find the problem. The httpd. conf file is found. This is the Apache configuration file.

You can find a solution after a few clicks:

 

 

 

Even now.

Finally, you have to remind me that if you are using IIS, you need to stop the services in IIS or open port 80. (Set in Internet Information Service (IIS) manager ). Because Apache uses port 80 by default, it will fight. Of course, you can also change the default port of Apache. Or httpd. conf


My new blog

 

Related Article

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.