当前位置:网站首页>02 | environment preparation: how to install and configure a basic PHP development environment under windows?
02 | environment preparation: how to install and configure a basic PHP development environment under windows?
2022-07-24 19:38:00 【Programmers are very good】
Hello , I am program ape zero one .
Before we start our tutorial , We need one more php development environment , In this way, we can run a php Website . So today I'll show you how to configure one php development environment , For your future development , Compile using the .
Under normal circumstances , You want to configure a php development environment , We need to achieve through the following three steps :
web Server configuration
Database configuration
php Compile environment configuration
As a rookie , Configuring these environments may take a long time , It may even be impossible . So in the introductory stage , In order to spend more time learning programming languages , We can choose a more convenient or better integrated environment .
that , At present, it is commonly used php Integrated environment one click installation package (windows) Which ones are there ?
phpstudy( recommend ), It's a php The program integrated debugging environment package
mamp pro, It is a software to build a local server environment , It is a set of professional combination software .
xampp, It is a full-featured ampp(apache+mysql+php+perl) software package .
easyphp, It's a windwos Under the apache+mysql+perl+php+python Development package for .
In addition to the integration environment listed above , There are also many integrated environment packages , You can choose your familiar software package to build .
Next , We recommend phpstudy Integrated environment as an example , Let's demonstrate how to windows Next build a web Server environment .

Visit the official website and download the version according to your local environment , The official website address is http://www.xp.cn.
Choose... According to your system 64/32 Bit download .
After downloading and decompressing, you can get the directory file shown in the figure below .


Double click the first file , That is to take exe Install the executable file at the end . 
start-up phpstudy after , We'll see first “ home page ” Function panel , This panel displays information about the current environment . 
Here we are , Our local server environment is set up , The installed software versions are nginx1.15+ mysql5.7 + php7.3. 
stay “ home page ” Click create website on the panel to start the configuration of the new website . Fill in the domain name in the basic configuration of the pop-up panel , for example blog.lingyi.com; Select the root directory storage address of the website , If you do not operate here, the default directory of the system will be used ; Check synchronization hosts, Automatically synchronize the domain name information to windows Systematic hosts In file , Select which to use php edition . 

Come here , The new website is created . Open the browser address bar , Input blog.lingyi.com You can visit the website . If the following figure appears, you have successfully created your own website .

mysql Is a very mainstream small and medium-sized relational database management system . At this stage mysql Database is widely used in small and medium-sized websites all over the world , While viewing mysql Database time , A good visualization tool is particularly important . stay phpstudy It also integrates 3 A visual database management tool , Include sql front、heidisql、db4s.
Now let's heidisql As an example to demonstrate how to use database management tools .
Click the database menu on the left side of the small leather panel , modify root password .

After modification , Click create database .
Click on heidisql Install with the Install button on the right . After installation, see the following figure .
Click on the management , Open the software management interface , Click New in the lower left corner , Create a new connection , Enter the database account and password just created .
Here we are , We can use heidisql To manage the database .
Today we installed and configured a php development environment , With this development environment , Then we can code at any time in the process of learning .
Next , Let's talk about how to quickly deploy a system based on laravel Framework development website .
Coming soon !
Welcome to your attention
Last , Welcome to my official account . Open the wechat search program ape zero one official account to follow , I hope we can make progress together .
边栏推荐
- How to encrypt your own program with dongle
- Getaverse,走向Web3的远方桥梁
- Sword finger offer 48. the longest substring without repeated characters
- Original reverse compensation and size end
- Description of large and small end mode
- Meshlab&PCL ISS关键点
- [German flavor] safety: how to provide more protection for pedestrians
- Virbox compiler, which supports source code encryption of the whole platform and architecture
- Day 5 (array)
- Literature reading: gopose 3D human pose estimation using WiFi
猜你喜欢

How to export map files tutorial

01 | 开篇词:手把手教你搭建一个博客网站

原反补及大小端

PostgreSQL weekly news - July 13, 2022

Setting up a dual machine debugging environment for drive development (vs2017)

day 1

Clion configuring WSL tool chain

Convolutional neural network CNN

In the spring of domestic databases
Siyuan notes V2.1.2 synchronization problem
随机推荐
【JVM学习04】JMM内存模型
Integer
Zooinspector Download
Review the code implementation of memcpy function
Summary of articles in 2020
MySQL8.0学习记录20 - Trigger
How to select software dongle
拿捏C指针
Ebpf verifier
Channel state information (CSI) conjugate multiplication denoising method
Interceptors and filters
Detailed explanation of the relationship between MySQL tables
Database index: index is not a panacea
How to encrypt your own program with dongle
Analysis of the basic concept of digital warehouse
[in depth study of 4g/5g/6g topic -39]: urllc-10 - in depth interpretation of 3GPP urllc related protocols, specifications and technical principles -3- how to distinguish urllc services? Detailed expl
02 | 环境准备:如何在windows下安装和配置一个基本的php开发环境?
Sword finger offer 47. the maximum value of gifts
The ark compiler is coming. What about APK reinforcement
Install SSL Certificate in Litespeed web server