当前位置:网站首页>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 .
边栏推荐
- Environment preparation of Nacos configuration center
- C # shelling tool for code encryption protection
- Techempower web framework performance test 21st round results release --asp Net core continue to move forward
- 纯C实现----------尼科彻斯定理
- Rotation matrix derivation process
- mysql排序.按字段值排序
- 【无标题】
- Getaverse, a distant bridge to Web3
- Day 6 (array example)
- Reading notes: you only look once:unified, real time object detection
猜你喜欢

Rotation matrix derivation process

Day 9 (this keyword and experiment)

Create a life cycle aware MVP architecture

PostgreSQL Elementary / intermediate / advanced certification examination (7.16) passed the candidates' publicity

Machine learning_ Data processing and model evaluation

Getting started with COM programming 1- creating projects and writing interfaces

Database index: index is not a panacea

day 2

原反补及大小端

Decision tree_ ID3_ C4.5_ CART
随机推荐
MySQL8.0学习记录19 - 页区段与表空间
Sword finger offer 53 - I. find the number I in the sorted array
He has been in charge of the British Society of engineering and technology for 13 years, and van nugget officially retired
Sword finger offer 42. maximum sum of continuous subarrays
Know typescript
[face to face experience of school recruitment] 8 real questions of pointer interview. Come and test how many you have mastered.
Sword finger offer 52. The first common node of the two linked lists
Free and open source website navigation source code collection, sorting and summary - self built personal navigation Homepage
文献阅读:GoPose 3D Human Pose Estimation Using WiFi
Getting started with COM programming 1- creating projects and writing interfaces
C language implementation of raii
Flink Window&Time 原理
【JVM学习04】JMM内存模型
Software core data protection solution
Emergency lighting design of large stadiums and gymnasiums
SSL Error: Unable to verify the first certificate
Read the registry through the ATL library clegkey (simple and convenient)
asp. Net coree file upload and download example
Techempower web framework performance test 21st round results release --asp Net core continue to move forward
How to export map files tutorial