新手PHP 编辑器安装
Page 1 of 1
新手PHP 编辑器安装
1) 去谷歌页面收索 “xampp”
再次本人提供网址以免其他新手去错网页 - https://www.apachefriends.org
2)当您登陆 https://www.apachefriends.org 了之后,去寻找 “XAMPP for Windows“ 的字眼, 然后下载最新的 xampp 程序。
3)当您下载时必须注意以下几点。
4)下载好后就把xampp装在 [You must be registered and logged in to see this link.] 路径, 很多人会好奇,为什么不装在 [You must be registered and logged in to see this link.] ? 因为有些电脑会有 UAC 的问题照成程序无法开启。
由于过于麻烦奉劝新手安装 D 路径
5)装完了后打开 xampp control panel, 开启 apache service
[You must be registered and logged in to see this image.] [You must be registered and logged in to see this link.]
6) 然后开启此路径 D:\xampp\htdocs, 在 htdocs 目录下创建一个新的目录 例如 ”D:\xampp\htdocs\tutorial“
7) 然后进去 D:\xampp\htdocs\tutorial ("您所创建的目录不一定和我同名")
8)在目录下打开notepad 或 [You must be registered and logged in to see this link.] 创建文件 index.php , 注意一定要是 php 的哦。本人觉得Notepad++比较方便,
当然你也可以用dreamweaver或其他软件。
9)创建了之后请在index.php里写下 php 源码以作测试
以上步骤都做完了后请打开游览器在游览器里输入 localhost/tutorial/index.php
成功后你会看见这样的画面
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]
再次本人提供网址以免其他新手去错网页 - https://www.apachefriends.org
2)当您登陆 https://www.apachefriends.org 了之后,去寻找 “XAMPP for Windows“ 的字眼, 然后下载最新的 xampp 程序。
3)当您下载时必须注意以下几点。
- 电脑的作业系统 (linux,windows and etc)
- 如果是Windows作业系统的话必须注意您的系统是几原位的 (32 bits / 64 bits)
4)下载好后就把xampp装在 [You must be registered and logged in to see this link.] 路径, 很多人会好奇,为什么不装在 [You must be registered and logged in to see this link.] ? 因为有些电脑会有 UAC 的问题照成程序无法开启。
由于过于麻烦奉劝新手安装 D 路径
5)装完了后打开 xampp control panel, 开启 apache service
[You must be registered and logged in to see this image.] [You must be registered and logged in to see this link.]
6) 然后开启此路径 D:\xampp\htdocs, 在 htdocs 目录下创建一个新的目录 例如 ”D:\xampp\htdocs\tutorial“
7) 然后进去 D:\xampp\htdocs\tutorial ("您所创建的目录不一定和我同名")
8)在目录下打开notepad 或 [You must be registered and logged in to see this link.] 创建文件 index.php , 注意一定要是 php 的哦。本人觉得Notepad++比较方便,
当然你也可以用dreamweaver或其他软件。
9)创建了之后请在index.php里写下 php 源码以作测试
- Code:
<?php
echo "Successful";
?>
以上步骤都做完了后请打开游览器在游览器里输入 localhost/tutorial/index.php
成功后你会看见这样的画面
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]
derrick90- Beginner
- Posts : 3
Points : 69349
Reputation : 0
Join date : 2014-11-17
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|