Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1476383
  • 博文数量: 295
  • 博客积分: 10051
  • 博客等级: 上将
  • 技术积分: 3850
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-11 08:50
文章分类

全部博文(295)

文章存档

2011年(1)

2009年(4)

2008年(290)

我的朋友

分类: BSD

2008-04-17 09:18:51

Performing sanity check on apache22 configuration:

  Syntax OK

  Starting apache22.2、安装PHP%cd /usr/ports/lang/php4/

  %make install cleanOptions for mod_php4 4.4.2_1,1 x

  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x

  x x [ ] DEBUG Enable debug x x

  x x [X] MULTIBYTE Enable zend multibyte support x x

  x x [ ] IPV6 Enable ipv6 support x x

  x x [X] OPENSSL Build static OpenSSL extension

  在/usr/local/etc/apache22/httpd.conf 里加入

  AddType application/x-httpd-php .php

  AddType application/x-httpd-php-source .phps

  加入目录索引 index.php,约在httpd.conf 的212行

  DirectoryIndex index.html index.php

  restart或reload Apache 使之生效

  %/usr/local/etc/rc.d/apache22.sh reload

  Performing sanity check on apache22 configuration:

  Syntax OK

  Performing a graceful restart3、安装PHP 扩展%cd /usr/ports/lang/php4-extensions/

  %make install clean在这里建议大家,如果没有必要尽量不要安装GD库免得浪费时间,大家可据自己需要选择安装模块

  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

  x Options for php4-extensions 1.0 x

  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x

  x x [ ] BCMATH bc style precision math functions x x

  x x [X] BZ2 bzip2 library support x x

  x x [ ] CALENDAR calendar conversion support x x

阅读(620) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~