作者xunlu (xunlu)
看板FreeBSD
标题Re: [问题] 使用ports方式安装 Apache MySQL PHP FTP
时间Thu Apr 2 11:03:15 2009
※ 引述《appleboy46 (小恶魔)》之铭言:
: ※ 引述《xunlu (xunlu)》之铭言:
: : 安装完了
: : 不知道怎麽测测有没有正常
: : 请各位前辈们指导一下
: : 我先接着要继续安装下一样罗 > <
: : 努力中..
: 修改 httpd.conf,加入
: AddType application/x-httpd-php .php
: AddType application/x-httpd-php-source .phps
: 测试 php,可以利用
: <?
: phpinfo();
: ?>
: 用网页看看就知道了
谢谢您我已经把那两行加上去了
用下面样找到档案加上去了..我加在最後面
xl# find / -name httpd.conf
/usr/local/etc/apache22/httpd.conf
/usr/local/share/examples/apache22/httpd.conf
^C
xl# ee /usr/local/etc/apache22/httpd.conf
请问您说的php档案是放在哪个目呢?
是httpd.conf里面写的ServerRoot "/usr/local"这个吗?
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "/usr/local"
还有再请问.哪哪些安全性的东西要设定的吗?
目前 appache mysql 与 ftppro服务已经起来了
php测试档案还在寻找放档案的位置中
方便的话proftp目录权限设定..这样子我才能直接把改好的档案传到http的路径下
目前安装好能上下传的路径只有登入後该使用者自己的目录@@
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.133.5.175