电脑技术学习

在FreeBSD上组建ISP级的邮件系统

dn001

  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

标签: