当前位置:网站首页>服务器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
边栏推荐
- Memory mapping of QT
- Rte11 interrupt decoupling function
- SteamOS 3.3 Beta 发布,Steam Deck 中文键盘终于来了
- 27:第三章:开发通行证服务:10:【注册/登录】接口:注册/登录OK后,把用户会话信息(uid,utoken)保存到redis和cookie中;(一个主要的点:设置cookie)
- 巴比特 | 元宇宙每日必读:一千块就能买一个虚拟主播?这是小企业的直播福音还是在“割韭菜”?...
- ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
- 【西北工业大学】考研初试复试资料分享
- Relax again! These fresh students can settle directly in Shanghai
- 微信小程序视频分享平台系统毕业设计毕设(2)小程序功能
- Wechat applet video sharing platform system graduation design completion (4) opening report
猜你喜欢

Wechat applet video sharing platform system graduation design completion (5) assignment

Nvidia 显卡 Failed to initialize NVML Driver/library version mismatch 错误解决方案

切换变换的时候记得使用三元表达式
![[golang | grpc] use grpc to realize simple remote call](/img/93/ae6eba2ba65d6e23bd00f45d04a2ed.png)
[golang | grpc] use grpc to realize simple remote call

1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS

微信核酸检测预约小程序系统毕业设计毕设(5)任务书

揭秘得物客服IM全链路通信过程

求求你们,别再刷 Star 了!这跟“爱国”没关系!

拿起相机,便是最好的艺术疗愈

QT official example: QT quick controls - Gallery
随机推荐
vimium映射鍵
iframe嵌套详解
1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS
Interview, about thread pool
Qt Official examples: Qt Quick Controls - Gallery
Graduation summary
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
面试,关于线程池的那些事
Rte11 interrupt decoupling function
Esp32-c3 introductory tutorial question ⑪ - ESP tls: create_ ssl_ handle failed, tls_ io_ instance->options. trusted_ certs null
初夏,开源魔改一个带击杀音效的电蚊拍!
qt的内存映射
一个优秀程序员可抵五个普通程序员!
A4988 and 42 stepper motors
Freemaker+poi realizes dynamic generation and parsing of Excel files
Leetcode interview question 16.11 Diving board
ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
Unity learning shader notes [82] black and white processing of enhanced single channel color rendering
[games101] operation 4 B é zier curve
再放寬!這些應届生,可直接落戶上海