DirectoryIndex index.html
</IfModule>
#
修改后:
#
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm index.html.var
</IfModule>
#
Installation of the PHP Extensions:
安装php5-extensions扩展.
Shell:
cd /usr/ports/lang/php5-extensions
make config
make install clean
安装选项如下:
详细安装选项
Options for php5-extensions 1.0
[X]
BZ2
bzip2 library support
[X]
CALENDAR
calendar conversion support
[X]
CTYPE
ctype functions
[X]
GD
GD library support
[X]
ICONV
iconv support
[X]
MBSTRING
multibyte string support
[X]
MYSQL
MySQL database support
[X]
PCRE
Perl Compatible Regular Expression support
[X]
POSIX
POSIX-like functions
[X]
SESSION
session support
[X]
SOCKETS
sockets support
[X]
TOKENIZER
tokenizer support
[X]
ZIP
ZIP support
[X]
ZLIB
ZLIB support
复制/usr/local/etc/php.ini-dist为/usr/local/etc/php.ini
Shell:
cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini
安装完成后,重新启动你的 web server.
会员注册
会员登录
个人空间