惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Archives - TechRepublic
Security Archives - TechRepublic
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AWS News Blog
AWS News Blog
S
SegmentFault 最新的问题
T
Tailwind CSS Blog
The Hacker News
The Hacker News
GbyAI
GbyAI
P
Palo Alto Networks Blog
博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Cyberwarzone
Cyberwarzone
H
Help Net Security
S
Securelist
月光博客
月光博客
博客园 - 【当耐特】
T
Threatpost
T
Tenable Blog
G
GRAHAM CLULEY
博客园 - 司徒正美
I
Intezer
MyScale Blog
MyScale Blog
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
The GitHub Blog
The GitHub Blog
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
Google DeepMind News
Google DeepMind News
C
Cybersecurity and Infrastructure Security Agency CISA
罗磊的独立博客
腾讯CDC
P
Privacy International News Feed
博客园_首页
The Cloudflare Blog
Cisco Talos Blog
Cisco Talos Blog
A
About on SuperTechFans
V
Vulnerabilities – Threatpost
A
Arctic Wolf
B
Blog RSS Feed
Recorded Future
Recorded Future
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
S
Security Affairs
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog

博客园 - 樊凯

Weblogic10.3客户端jar文件 PHP5操作MySQL数据库 - 樊凯 - 博客园 Struts2拦截器 Hibernate缓存 一个关于SpringSecurity很好的参考文档 Struts2.1.6 + Spring2.5+Hibernate3.2整合 JQuery和Struts实现Ajax文件上传 struts1.x+spring2.5+JPA(hibernate)整合 使用Apache的commons-codes加密 Spring备忘(涵盖Spring2.5) Spring备忘四(涵盖Spring2.5) Sping备忘三(涵盖Spring2.5) Spring备忘二(涵盖Spring2.5) - 樊凯 - 博客园 Spring备忘一(涵盖Spring2.5) ubuntu遇到的错误 Ubuntu命令(更新中) 异常java.lang.UnsupportedClassVersionError: Bad version number in .class file 根据ResultSetMetaData对象动态创建pojo或其集合(JDBC) 天生我牛必有用
使用AppServ快速建立php运行环境
樊凯 · 2009-09-13 · via 博客园 - 樊凯

appservnetwork 

对于像我一样的初学php的人来说,php的运行环境的搭建一定是一个难关。那么我们使用AppServ这样一个集成环境来帮助我们快速搭建php的运行环境。AppSer中包含了Apache服务器、MySQL数据库和phpMyAdmin。

首先到AppServ的官方网站上去下载自己需要的AppSer版本,它的版本的区别就在于支持的Apache服务器、MySQl数据库和php的版本不同,当前我使用的版本为2.5.10。开始安装:

image

我习惯将AppServ安装在磁盘的根目录下(为了使用的方便):

image

这里让你选择安装的组件:

image

Apache的服务器的配置:

image

MySQL数据库的配置(要求输入root用户的密码):

image

安装完成后启动Apache服务器和MySQL数据库:

image

在浏览器的地址栏输入http://localhost,看到如下界面说明Apache服务器启动成功:

image 

此时,在AppServ的安装目录中可以看到这样的目录结构:

image

其中www文件夹就是php文件的存放路径,我们在其中建立hello.php文件,文件内容如下:

<?php
    echo "测试php!";
?>

在浏览器中输入http://localhost/hello.php,可以看到如下内容:

image

到此我们php运行环境配置完成。