Home  >  Article  >  Backend Development  >  How to customize the configuration after wamp installation, customize wamp after installation_PHP tutorial

How to customize the configuration after wamp installation, customize wamp after installation_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:20:14917browse

How to customize the configuration after wamp installation, customize wamp after installation

WampServer is a PHP integrated development environment that is currently widely used. This article will describe how to customize the configuration after Wamp is installed. For everyone’s reference. The details are as follows:

After wamp2.5 was installed, I manually reset the default root directory of apache. But I found that this machine can be accessed, but others cannot.

The prompt message is: Forbidden you dont hava permission to access * on the server

means you do not have permission to access!

This is a relatively common problem. You should only need to modify the permissions of the directory.

After searching many methods described on the Internet, I found that they all said to replace all the lines with 'deny' with 'Allow from all', but I personally tested it and it didn't work.

With all kinds of entanglements and desperation, I tried to study phpmyadmin given by others. This is the best example.

In the phpmyadmin.conf file under /wamp/alias, the following comments are written in the first few lines of the document:

# to give access to phpmyadmin from outside 
# replace the lines 
# 
#Require local 
# 
# by 
# 
# Require all granted 
#

At this point, the answer is obvious.

So find the apache2.4.9confhttpd.conf file and put the last line of the 7b799fe73e35dcfdc019b13f54de80e5 node in it:

Replace 'Require local' with 'Require all granted'

At this point, the problem is solved!

As can be seen from this problem-solving experience, When you encounter problems when you are not familiar with something, the best solution comes from Demo!

How to configure wamp’s mysql?

It seems that the username and password are wrong. Did you write the wrong username and password when you looked at the file that linked to the database? Installation of mysql, combined with php and Apache
Open the downloaded mysql installation file mysql-4.1.14-win32 .zip, double-click to decompress, run "setup.exe", the following interface will appear

The mysql installation wizard starts, press "Next" to continue

Select the installation type, there is "Typical (default)" , "Complete", "Custom" three options, we choose "Custom", there are more options, and it is also convenient to familiarize yourself with the installation process

In "Developer Components" Part)" and select "This feature, and all subfeatures, will be installed on local hard drive.", that is, "This feature, and all subfeatures, will be installed on local hard drive." Do the same with "MySQL Server (mysql server)", "Client Programs (mysql client program)", and "Documentation (documentation)" above to ensure that all files are installed. Click "Change..." to manually specify the installation directory.

Fill in the installation directory. Mine is "D:\mysql". It is also recommended not to put it in the same partition as the operating system. This can prevent the data from being cleared when the system is backed up and restored. Press "OK" to continue.

Return to the previous interface and press "Next" to continue.

Confirm the previous settings. If there are errors, press "Back" to return and redo. Press "Install" to start the installation.

Installing, please wait until the following interface appears

Here you are asked whether you want to register a mysql.com account, or use an existing account to log in to mysql.com , generally not needed, click “Skip Sign-Up” and press “Next” to skip this step.

Now that the software installation is completed, the above interface appears. There is a very good function here, the mysql configuration wizard. You don’t have to manually configure my.ini as before. Change "Configure the Mysql Server" Now", click "Finish" to end the software installation and start the mysql configuration wizard.

The mysql configuration wizard starts the interface, press "Next" to continue.

Select the configuration method, "Detailed Configuration (manual precise configuration)", "Standard Configuration (standard configuration)", we select "Detailed Configuration" to facilitate familiarity with the configuration process.

Select the server type, "Developer Machine (development and testing type, mysql takes up few resources)", "Server Machine (server type, mysql takes up more resources)", "Dedicated MySQL Server Machine (specialized database Server, mysql occupies all available resources)", everyone chooses according to their own type, generally choose "Server Machine", it will not be too few, and it will not be full.

Select the general purpose of the mysql database, "Multifunctional Database (general multifunctional, good)", "Transactional Database Only (server type, focused on transaction processing, general)", "Non-Transactional Database Only ( Non-transaction processing type, relatively simple, mainly used for some monitoring and counting. The support for MyISAM data type is limited to non-transactional). You can choose it according to your own use. I choose "Transactional Database Only" here and press "Next" "Continue.

Configuring the InnoDB Tablespace is to select a storage for the InnoDB database file... The rest of the full text>>

How to configure phpwind wamp 45?

There is no need to download the program. After installation, there should be two folders and several files in it. Local. You don’t need to worry about it. It is the integrated environment of php. www. This is where the program is placed. By default, there is a phpwind75 and a phpmyadmin. The former It is the pw program, and the latter is a tool for managing mysql databases that does not require you to configure anything. There are several files in the root directory install.batuninstall.bat. The key points are these two. The former starts the service and the latter closes it

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/868229.htmlTechArticleHow to customize the configuration after wamp installation. Customizing WampServer after wamp installation is a very widely used PHP integrated development. environment, this article will describe how to customize the configuration after Wamp installation...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn