PHP 的執行檔 - BBS

Table of Contents

※ 引述《[email protected] (飄 然 似 雪)》之銘言:
: ※ 引述《[email protected] (Sir)》之銘言:
: > 我在 FreeBSD 6.0 上安裝了
: > PHP Version 4.4.1 (http://2xwin.twbbs.org/data/test.php)
: > 我試寫了一個 test.php
: > 我想直接執行看結果 不透過網頁執行
: > 下達如下的指令:
: > 可是我找不到我的 php 執行檔放在哪 ?
: > 謝謝.
: 有裝php-cli嗎?
: Port: php4-cli-4.4.1_3
: Path: /usr/ports/lang/php4-cli
: Info: PHP Command Line Interpreter
: Maint: [email protected]
: B-deps:
: R-deps:
: WWW: http://www.php.net/
: Port: php5-cli-5.1.1
: Path: /usr/ports/lang/php5-cli
: Info: PHP Command Line Interpreter
: Maint: [email protected]
: B-deps: libiconv-1.9.2_1 libxml2-2.6.22 pkgconfig-0.20
: R-deps: libiconv-1.9.2_1 libxml2-2.6.22 pkgconfig-0.20
: WWW: http://www.php.net/

我試著去安裝 /usr/ports/lang/php4-cli

但是出現如下的錯誤訊息 :

===> php4-cli-4.4.2_1 conflicts with installed package(s):
mod_php4-4.4.1_2,1

They install files into the same place.
Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4-cli.
*** Error code 1

字面上是說我的 php4-cli 跟 mod_php4 相衝

那現在我該如何做呢 ? 移除掉 mod_php4 嗎 ?

Thanks.

--

All Comments