php5-extension安裝時出現錯誤 - BBS

Table of Contents

※ 引述《chiouss (Alive a Life)》之銘言:
: ※ 引述《[email protected] (學習讓自己感覺存在)》之銘言:
: : 安裝完apache2
: : mod_php5後
: : 在安裝php5-extension時發生
: mod_php5? 這東西在 20060506 之後就已經不存在了吧? :Q
: 建議你先更新你的 ports tree 並且 portupgrade 目前安裝的 ports/package
: 20060506:
: AFFECTS: users of PHP
: AUTHOR: [email protected]
: The old PHP slave ports (phpN-cli, phpN-cgi and mod_phpN) were removed
: in favour of unified PHP ports that allow building any combination of
: PHP SAPIs (cli, cgi and apache module).
: The PHP CGI binary was renamed to php-cgi, so you should update
: the path in your script. To simplify the update process, *only* for
: this release a 'php' compatibility symlink to php-cgi will be created
: if you don't select the CLI SAPI.
: Before the upgrade you *should* run 'make config' in lang/php4 or
: lang/php5 to configure the SAPIs you want to install.
: As a consequence the default binary packages include the CLI and the
: FastCGI SAPIs.

先到這 /usr/ports/lang/php5

把PHP5裝好再安裝php5-extensions

應該是這樣吧

--

All Comments