当前位置:网站首页>服务器php环境搭建教程,PHP服务端环境搭建图文详解
服务器php环境搭建教程,PHP服务端环境搭建图文详解
2022-07-02 16:58:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
PHP环境搭建也是一门技术,本文主要为大家分享一篇PHP服务端环境搭建的图文教程,具有很好的参考价值,希望对大家有所帮助。
一、PHP服务端环境搭建
1.php 服务端环境 安装套件 xampp(apach+mysql+php解释器)
F:\MyDoc文件(重要)\DL_学习\download重要资源\apache服务器组件
安装
此时进入xmapp面板显示成功运行
测试本地Apache服务器是否开启:浏览器中输入127.0.0.1 回车即可进入xmapp官网
4.修改浏览器中默认出现的dashboard文件夹
打开xmapp下htdocs文件夹下 index.php文件 配置文件中默认跳转到本文件夹
解决办法:将htdocs下所有文件删除,将不会自动跳转
至此,服务端环境配置完成,但是希望能够将项目文件保存到重新创建的www文件夹中如何设置呢
5.将所有文件保存到F:\www文件夹中
解决办法:
(1)进入F:\xampp\apache\conf\httpd.conf
(2)打开文件
(3)修改 #DocumentRoot “C:/xampp/htdocs”为DocumentRoot “C:/www”
(4)保存关闭,重新启动xampp控制面板
测试: 在www文件夹下新建 www.text文件,
浏览器中输入127.0.0.1 显示
好了,按照以上的图文教程PHP服务端环境就搭建好了,大家可以动手尝试一下。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/148424.html原文链接:https://javaforall.cn
边栏推荐
- SteamOS 3.3 Beta 发布,Steam Deck 中文键盘终于来了
- Another double non reform exam 408, will it be cold? Software College of Nanchang Aviation University
- Relax again! These fresh students can settle directly in Shanghai
- Use dosbox to run the assembly super detailed step "suggestions collection"
- Wechat applet video sharing platform system graduation design completion (7) Interim inspection report
- Freemaker+poi realizes dynamic generation and parsing of Excel files
- Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report
- 铁塔安全监测系统 无人值守倾角振动监测系统
- vimium映射键
- Memory mapping of QT
猜你喜欢

Ue4 dessine un cercle avec une ligne de contour

MySQL -- basic operation of database

Leetcode interview question 17.01 Addition without plus sign

exness深度好文:动性系列-黄金流动性实例分析(五)

Leetcode interview question 17.04 Vanishing numbers

Remember to use ternary expressions when switching transformations

Customize a loading instruction

Qt官方示例:Qt Quick Controls - Gallery

WPS inserts a picture and displays it completely

微信小程序视频分享平台系统毕业设计毕设(5)任务书
随机推荐
Yingguang MCU development case
Implementation shadow introduction
Babbitt | metauniverse daily must read: can you buy a virtual anchor for 1000 yuan? Is this the live gospel of small businesses or "cutting leeks"
Leetcode interview question 17.04 Vanishing numbers
MySQL advanced - transaction and index
vi/vim 删除:一行, 一个字符, 单词, 每行第一个字符 命令
Nm01 function overview and API definition of nm module independent of bus protocol
Aptos tutorial - participate in the official incentive testing network (ait2 incentive testing network)
Interview, about thread pool
【西北工业大学】考研初试复试资料分享
面试,关于线程池的那些事
微信核酸检测预约小程序系统毕业设计毕设(2)小程序功能
微信核酸检测预约小程序系统毕业设计毕设(5)任务书
Esp32-c3 introductory tutorial question ⑩ - error: implicit declaration of function 'ESP_ blufi_ close‘;
Mysql 备份的三种方式
Graduation summary
Vimium mapping key
Unity learning shader notes [81] simple color adjustment post-processing (brightness, saturation, contrast)
Leetcode interview question 16.17 Continuous sequence
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found