If you're having trouble installing the Tidy2 extension on Ubuntu Dapper for PHP 5, take a look at this thread in the support forums:
http://ubuntuforums.org/showthread.php?t=195636
In summary:
* there is an extra "make clean" step required between "configure" and "make"
* depending on your setup, you may need to install a couple of other packages before you can install tidy:
build-essential, php5-dev and/or php5-cli, libtidy, libtidy-dev
インストール手順
Tidy は、現在、PHP 4.3.xおよびPHP 5用として、PECL拡張モジュールとして » http://pecl.php.net/package/tidy. から入手可能です。
注意: Tidy 1.0 はPHP 4.3.x専用で、Tidy 2.0はPHP 5は専用です。
» PEAR は、 *nix互換のシステムで利用可能で、tidy拡張モジュールをインストールする際に 以下のようにpearインストーラを使用することができます。 : pecl install tidy
次のようにマニュアルでtar.gzパッケージをダウンロードし、tidyをインストール することも可能です。
例1 PHP 4.3.x において tidy をマニュアルでインストールする
gunzip tidy-xxx.tgz tar -xvf tidy-xxx.tar cd tidy-xxx phpize ./configure && make && make install
Windows ユーザは、拡張モジュールの DLL を » http://pecl4win.php.net/ext.php/php_tidy.dll からダウンロードすることが可能です。
PHP5 においては、--with-tidy オプションを使ってコンパイルするだけです。
インストール手順
spaceman at skipthispart dot foo dot at
13-Apr-2008 07:02
13-Apr-2008 07:02
