PHP安装步骤(以apache 2 + php5.3为例)
1.
Download Apache for windows MSI
file, and run it
By
default, port is 80, root dir is %apache_dir%/htdocs. You can update the
settings in conf/httpd.conf file
2. If Apache Service can't be installed in "Control Panel > Admin Tools > Services",
Execute following command in %apache_dir%/bin
httpd.exe -k install -n Apache2.2
另外几个有用的命令:
remove apache service: httpd.exe -k uninstall -n Apache2.2
start apache service from : httpd.exe -k start
stop apache service: httpd.exe -k stop or
httpd.exe -k shutdown
restart apache service: httpd.exe -k restart
如果不通过windows Apache service,你可以直接使用下列命令:
start apache server: httpd
stop apache server:
httpd.exe -k shutdown
restart apache server: httpd.exe -k restart
2.
Test if apache server works
1)
Start server: start “Apache
service” from “Control Panel > select “Start > Programs > Apache http
server 2 > control apache server > start” or start serve
相关文档:
ob_start();
echo "<pre>";
print_r($content);
echo "</pre>";
$a=ob_get_contents();
$filename = $_SERVER['DOCUMENT_ROOT']."/log-".date("Y-m-d").".txt";
$file = fopen($filename, "a");
$tipmsg = "\r\n******Final File: "
//.end(explode('/',$_SERVER['PHP_SELF']))
.$_SERV ......
PEAR简介:用PEAR来写你的下一个php程序
文档选项
打印本页
将此页作为电子邮件发送
级别: 初级
潘凡(Night Sailer) (nightsailer@hotmail.com), 工程师, 北京赛迪数据有限公司
2001 年 6 月 01 日
你可能已经是个PHP的老手了,写了很多非常棒的代码。但是,如果你现在要把它们加入到你现在的项目中去,是 ......
一、MySql简介概要
MySQL是一个小型关系型数据库管理系统,开发者为瑞典MySQL AB公司,后来
被Sun公司收购,现在正在被甲骨文收购,支持FreeBSD、Linux、MAC、Windows
等多种操作系统 与其他的大型数据库例如Oracle、DB2、SQL Server等相比功能稍弱
一些 题外话:Postgresql&n ......
[Smarty - 官方网站]
http://smarty.php.net/
[Smarty - 下载地址]
当前版本 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz
全部列表, http://smarty.php.net/download.php
[Smarty - 相关论坛]
http://php.board.newsmth.net/
http://forum.c ......
适用于最新的版本PHP-5.2.11和APACHE2.2
下载地址
PHP:http://cn2.php.net/get/php-5.2.11-Win32.zip/from/a/mirror
PHP直接下载http://cn.php.net/distributions/php-5.2.11-Win32.zip
APACHE http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.14-win32-src.zip
1、将php解压到C:\php目录下
2、将apache安装 ......