目次

環境

  • FreeBSD/i386 7.0-RELEASE
  • ports (2008/03/01)

Apache22

# cd /usr/ports/www/apache22
# make config
# make install

PHP5

# cd /usr/ports/lang/php5
# make config
# make install
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

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

***************************************************************
# cd /usr/ports/lang/php5-extentions
# make config
# make install