search
HomeBackend DevelopmentPHP ProblemHow to quickly build php in windows10
How to quickly build php in windows10Sep 11, 2019 am 11:46 AM
phpwindows10build

How to quickly build php in windows10

How to quickly build php in windows10 system?

apache installation

1. Official website download address: http://httpd.apache.org/download.cgi

2. Download

How to quickly build php in windows10

How to quickly build php in windows10

##3. Unzip the downloaded file

How to quickly build php in windows10

4. Open the httpd.conf file under Apache24\conf, modify the following key locations, and use Notes Just open this or EditPlus.

How to quickly build php in windows10

Modify the default SRVROOT value to the Apache installation location

5. Start Apache

1) Enter "cmd" in the chat box of "Win R" to start the "Command Prompt Window".

2) Enter "d:" and press Enter, enter "cd /php/httpd-2.4.34-o102o-x64-vc14/Apache24/bin" and press Enter and enter "httpd ”, if there is no prompt, it means the startup is successful.

3) Open the browser and enter "http://localhost/" to test. The following figure shows that the configuration is successful.

How to quickly build php in windows10

How to quickly build php in windows10

##PHP installation

1. Official website download address:

https://windows.php.net/download

2. Download

How to quickly build php in windows10

3. Unzip and configure

1) Unzip the downloaded file to the location where you want to install it.

2) Copy php.ini-development and rename it to php.ini. Then configure

Change the directory address similar to the picture below (specifically depends on your own installation directory)

How to quickly build php in windows10

Remove the preceding ";"


How to quickly build php in windows10##3) Open Apache24\conf httpd.conf, add

How to quickly build php in windows10 at the end. Test:

in the Apache directory Create a new Index.php file in the htdocs folder and fill in the following code:

<?php
    phpinfo();
?>

After saving, enter in the browser:

http://localhost/index.php

If the following page appears, it proves that PHP installation is successful.

Finish! How to quickly build php in windows10

If you want to learn more related content, please visit the php Chinese website:

PHP video tutorial

The above is the detailed content of How to quickly build php in windows10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:CSDN. If there is any infringement, please contact admin@php.cn delete
windows10运行在哪里打开windows10运行在哪里打开Mar 19, 2024 pm 05:57 PM

三种常用的方法:1、最便捷的方法是同时按下Windows键和R键;2、通过快捷菜单或开始菜单来访问“运行”;3、通过输入特定的命令,用户可以快速启动程序、打开文件或文件夹、配置系统设置等。

windows10激活密钥大全最新2024windows10激活密钥大全最新2024Mar 19, 2024 pm 03:45 PM

获取 Windows 10 激活密钥是充分体验其功能的关键。合法的方式是购买正版密钥,然后通过系统设置中的“激活”选项进行激活。使用非法或盗版密钥可能带来安全风险,并且是对知识产权的侵犯。本文将指导您通过合法途径获取和激活 Windows 10 激活密钥,确保您的计算机安全并支持软件开发者的劳动成果。

windows10安装失败windows10安装失败Mar 12, 2024 pm 05:09 PM

windows10安装失败的解决办法:1、检查硬件;2、更新驱动程序;3、使用可靠的安装介质;4、清理现有系统;5、检查系统要求;6、调整BIOS/UEFI设置;7、清除病毒。

Vue框架下,如何快速搭建统计图表系统Vue框架下,如何快速搭建统计图表系统Aug 21, 2023 pm 05:48 PM

Vue框架下,如何快速搭建统计图表系统在现代网页应用中,统计图表是必不可少的组成部分。Vue.js作为一款流行的前端框架,提供了很多便捷的工具和组件,能够帮助我们快速搭建统计图表系统。本文将介绍如何利用Vue框架以及一些插件来搭建一个简单的统计图表系统。首先,我们需要准备一个Vue.js的开发环境,包括安装Vue脚手架以及一些相关的插件。在命令行中执行以下命

windows10和windows11哪个好用windows10和windows11哪个好用Mar 19, 2024 pm 04:11 PM

Windows 10稳定性高、界面传统、性能流畅,安全性也不错。Windows 11则引入了新特性、优化了性能,在游戏方面表现出色,安全性也得到增强。不过,Windows 11作为新系统可能存在兼容性问题,升级前需谨慎评估。

win10的截图快捷键分享win10的截图快捷键分享Mar 19, 2024 pm 04:05 PM

最常用的快捷键:1、框选截图:Win + Shift + S,可选择矩形、窗口或任意格式区域进行截图,截图自动复制到剪贴板;2、全屏截图:Win + Printscreen,将整个屏幕截图保存到“此电脑-图片-截图”文件夹中;3、全屏截图并编辑:Win + W,唤出屏幕草图工具,可裁剪、编辑并保存或复制截图;4、全屏截图到剪贴板:Print Screen。

windows10怎么管理开机启动项windows10怎么管理开机启动项Feb 07, 2021 am 11:22 AM

方法:1、按“win+R”打开“运行”窗口,输入“msconfig”命令,点击“确认”;2、在msconfig设置界面中,点击“启动”选项卡,点击“打开任务管理器”;3、在任务管理器界面中,点击“启动”选项卡;4、找到并选中不想要的启动项,鼠标右击,在弹出的菜单中选择禁用”即可。

CentOS 7下搭建web服务器的网络安全加固技巧CentOS 7下搭建web服务器的网络安全加固技巧Aug 05, 2023 pm 01:12 PM

CentOS7下搭建web服务器的网络安全加固技巧web服务器是现代互联网的重要组成部分,因此保护web服务器的安全性非常重要。通过加固网络安全,可以减少风险和避免潜在的攻击。本文将介绍在CentOS7上搭建web服务器时常用的网络安全加固技巧,并提供相应的代码示例。更新系统和软件首先,确保你的系统和软件是最新版本。可以使用以下命令更

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software