当前位置:网站首页>How to deal with the Yellow Icon during the installation of wampserver

How to deal with the Yellow Icon during the installation of wampserver

2022-07-05 13:42:00 Zi Mu Lei

We are learning php The first step is to configure php Operating environment , We can configure it ourselves mysql/apache Environmental Science ( See the next blog post ), But we have a better and more convenient way , It's integration mysql/apache Of wampsever, Encountered early in the installation wampserver There is a problem that the icon is displayed in yellow after the installation is completed , The main reason for this problem is that we used it in the past ,wampserver default 80 Port occupied , So we just need to modify wampserver in apache Default port for , And then we can solve this problem , The specific process is as follows ;

1. The main problem now is this :

2. Open your wampserver Install root , find httpd.conf This file : The catalogue is : Your installation path \wamp\bin\apache\apache2.4.9\conf       Or open this file directly as shown in the figure below

3. use notepad Or open your notepad httpd.conf file , In about 61-63 Set the port at the line :

Here we can see the port number we need , The default is 80 The mouth of , The problem is here , So we just need to change this port OK, It's best to choose an uncommon port , Prevent being occupied again , Like I prefer 8085 This mouth . If it's changed, it's time OK!!! Note that these three need to be changed !

preservation !!! The port will be changed here , We need to restart all services again , Problem solving !

4. But here comes another problem , That's what we use wampserver open phpmyadmin Follow localhost I can't open it when I'm ready , That's the truth , Because we changed the default port ,OK, Then change :

find wamp In the catalog wampmanager.tpl file , After opening it, it will probably be 133 Line left and right, find the following lines :

At these addresses localhost Add the port number you just set , For example, what I set up is 8085, Modify it as follows :

You can't restart the service here , Must take wampserver close , And then restart it wampserver, Only in this way can the setting take effect , So far, the whole problem will be solved , If you have any shortcomings, please give me more advice !

author : Little thunder

QQ:1132207176

原网站

版权声明
本文为[Zi Mu Lei]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140521486292.html