Easy Fun windows of the development environment deploy wamp

1. Download and install WampServer

XAMPP and WampServer similar, are integrated development environment package, can achieve the effect of a development environment that is used.

WampServer before deployment requires Microsoft development dependencies, after several combat, I found a more practical fix pack online.

If you rely on incomplete, it will be reported "missing **. Dll" file error.

Portal: DirectX repair tool

Download: https: //www.crsky.com/soft/31471.html

 

1.1. Installing WampServer

The WampServer installation package, download address:

https://sourceforge.net/projects/wampserver/files/

Find the latest version of Wampserver_x64.exe

After the download can be installed, the steps are simple, all you can by default.

Select the installation path, the default is in the c: / wamp64:

This will let you select a file browser and editing tools, the default cloud hosting no other tools default.

After installation, we start Wampserver, open the browser, type "localhost" will enter Wampserver page.

 

1.2 Set Environment Variables

If you need to use mysql, php's CLI tool is recommended to add the environment variable "Path".

In the c: \ wamp \ bin find exe executable file the application, the parent file path added to the list "Path" can be.

 

 

1.3. Setting Wamp language

 

1.4. Setting mysql

In the "localhost" page, we find phpmyadmin. Integrated environment permissions for root, password is empty, in order to provide their security, so it is necessary to set a new password.

The default Url is

http://localhost/phpmyadmin/index.php

Wamp environment divided into two databases, mysql, MariaDB, can provide services, mysql 3306mariaDB 3307.

Enter the user name "root", password is empty, click on the "implementation", enter phpmyadmin

Click on "Account", modify the "root" user, click on "Modify permission."

Click on "Password", enter a new password, and finally perform the operation.

 

2. Deploy website

Such wamp development environment has been completed, and finally we test the environment is normal.

Create a wordpress directory in c drive, I found a wordpress v5.3 source code uploaded to the directory

Portal:

http://www.a5xiazai.com/php/103783.html#

Adding a virtual machine on apache wordpress

Configuration is as follows:

<VirtualHost *:80>
 ServerName mylog.com
 ServerAlias mylog.com
 DocumentRoot "c:/wordpress"
 <Directory "c:/wordpress">
  Allow from all
  AllowOverride All
  Require local
 </Directory>
</VirtualHost>

Modify the hosts file, path:

c:\windows\System32\drivers\etc

Finally, restart the service.

So that you can successfully open workpress initialize site.

Wordpress database and create database permissions

Final completion of their own blog.

 


Rui Jiang Yunguan website link: https://www.eflycloud.com/home?from=RJ0038

Guess you like

Origin www.cnblogs.com/eflypro/p/12341382.html