導入が必須とさえ思われるPHPをインストールします。
以前には、動かないソフト対策のために PHP4 をいれた事もありましたが、サポートも打ち切られますので,PHP5 を導入する事にします。

[kurobox ~]# apt-get install php5

Reading package lists... Done

Building dependency tree... Done

The following extra packages will be installed:

  apache2-mpm-prefork libapache2-mod-php5 libxml2 php5-common ucf

Suggested packages:

  php-pear

Recommended packages:

  xml-core debconf-utils

The following packages will be REMOVED:

  apache2-mpm-worker

The following NEW packages will be installed:

  apache2-mpm-prefork libapache2-mod-php5 libxml2 php5 php5-common ucf

0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.

Need to get 3814kB of archives.

After unpacking 7750kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://ftp.jp.debian.org etch/main apache2-mpm-prefork 2.2.3-4+etch3 [415kB]

Get:2 http://security.debian.org etch/updates/main libxml2 2.6.27.dfsg-2 [741kB]

Get:3 http://ftp.jp.debian.org etch/main ucf 2.0020 [57.7kB]

Get:4 http://security.debian.org etch/updates/main php5-common 5.2.0-8+etch10 [216kB]

Get:5 http://security.debian.org etch/updates/main libapache2-mod-php5 5.2.0-8+etch10

Get:6 http://security.debian.org etch/updates/main php5 5.2.0-8+etch10 [1046B]

Fetched 3814kB in 22s (173kB/s)

Preconfiguring packages ...

dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:

 apache2 depends on apache2-mpm-worker (>= 2.2.3-4+etch3) | apache2-mpm-prefork 

 (>= 2.2.3-4+etch3)

  | apache2-mpm-event (>= 2.2.3-4+etch3); however:

  Package apache2-mpm-worker is to be removed.

  Package apache2-mpm-prefork is not installed.

  Package apache2-mpm-event is not installed.

(Reading database ... 12416 files and directories currently installed.)

Removing apache2-mpm-worker ...

Stopping web server (apache2)....

Selecting previously deselected package apache2-mpm-prefork.

(Reading database ... 12410 files and directories currently installed.)

Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.3-4+etch3_arm.deb) ...

Selecting previously deselected package libxml2.

Unpacking libxml2 (from .../libxml2_2.6.27.dfsg-2_arm.deb) ...

Selecting previously deselected package php5-common.

Unpacking php5-common (from .../php5-common_5.2.0-8+etch10_arm.deb) ...

Selecting previously deselected package ucf.

Unpacking ucf (from .../archives/ucf_2.0020_all.deb) ...

Moving old data out of the way

Selecting previously deselected package libapache2-mod-php5.

Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.0-8+etch10_arm.deb) ...

Selecting previously deselected package php5.

Unpacking php5 (from .../php5_5.2.0-8+etch10_all.deb) ...

Setting up apache2-mpm-prefork (2.2.3-4+etch3) ...

Starting web server (apache2)....



Setting up libxml2 (2.6.27.dfsg-2) ...



Setting up php5-common (5.2.0-8+etch10) ...

Setting up ucf (2.0020) ...



Setting up libapache2-mod-php5 (5.2.0-8+etch10) ...



Creating config file /etc/php5/apache2/php.ini with new version

Forcing reload of web server (apache2)... waiting .



Setting up php5 (5.2.0-8+etch10) ...

kurobox:~#

簡単にPHP動作させる事ができるようです。
以下が info の画面です。



[戻る] [TOP] [次へ]