论坛首页 编程语言技术论坛

Apache2+PHP5.2+Mysql development environment set up

浏览 8637 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-04-05  
PHP

1.OS: xp
2.Server:Apache2.0.59    download:   http://httpd.apache.org/download.cgi
3.Database:Mysql5.0.16  download   http://www.mysql.com/download
4.PHP5.2 download http://php.net

Modify Apache conf/ http.conf   
一.add below to support php
   LoadModule php5_module c:/work/php5/php5apache2.dll
   PHPIniDir "c:/work/php5"
二.for parse the suffix:php you will also add those
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
  AddType application/x-httpd-php .html

三.if want to support CGI,add below,then all
 ScriptAlias /cgi-bin/ "C:/Work/wwwroot/cgi-bin/"
 \< Directory "C:/Work/wwwroot/cgi-bin"    AllowOverride None>
    Options +ExecCGI
    Order allow,deny
    Allow from all
\</Directory>
AddHandler cgi-script .cgi .pl

Modify the php.ini
一.add the ext path to parse some dll
   extension_dir = "C:\Work\php5\ext\"
二.use some dlls,need uncomment
  extension=php_gd2.dll
  extension=php_mysql.dll
三.use PEAR
;***** Added by go-pear
include_path=".;C:\Work\php5\pear"

Note: due to php reasons,you need download the go-pear.phar from http://go-pear.org/  file in PEAR folder then run the go-pear.bat

   发表时间:2007-04-06  
应该再补充安装ZendOptimizer
0 请登录后投票
   发表时间:2007-05-14  
http://blog.chinaunix.net/u/29134/showart_300810.html
0 请登录后投票
   发表时间:2007-06-03  
我习惯用xampp
0 请登录后投票
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics