
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
PHPインストール(雑多な旧情報) |
本ページは雑多な旧情報のみを紹介しています。「[[docs link 208]]」をご覧下さい。
! pdflib
PDFlibの他、FPDFというフリーのPDF生成ができるライブラリもあります。
http://www.pdflib.com/
pdflib-4.0.2.tar.gz
./configure --enable-shared-pdflib --with-zlib=/usr --with-pnglib=/usr --with-tifflib=/usr
make
make test
make install
! PHP3
tar xfz php-3.0.18-i18n-ja-2.tar.gz
./configure --with-pgsql --enable-track-vars --with-apxs=/usr/local/apache/bin/apxs --enable-i18n --enable-mbregex
./configure --with-pgsql --with-zlib --enable-track-vars --enable-i18n --enable-mbergex --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache --with-gd=/usr/local/bin --with-ttf
! インストールできないとき
Apache DSO版として生成し直し。
env OPTIM="-O2" ./configure --enable-module=so
env OPTIM=-O2 ./configure --enable-module=so →tcsh
PHP日本語マニュアルphp.netのインストール時の注意を読む。
configure実行でストップ、FAQを読めとメッセージが出る。
4.11 or 6.11。APXS関連の場合は、/usr/local/apache/bin/apxs を修正する。
方法はウェブで書かれている通り。linux関連の修正は不要。
PostgreSQLのインストールで一緒にインストールしているはずだが、gmakeのインストールを確認。
Bisonのインストールが必要? http://www.nspl.co.jp/Solaris/System/bison.html
don’t know how to make language-parser.tab.c
いったん、そのディレクトリを破棄。その後もう一度、tarからやり直して再実行。
(language-parser.tab.cがないとき?)
---
./configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --enable-i18n --with-gd=/usr/local --with-freetype-dir=/usr/local/ --enable-gd-native-ttf=/usr --enable-mbstring --enable-jstring --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-png-dir=/usr --with-ttf --enable-mbregex --with-zlib-dir=/usr/local --with-pdflib --with-openssl
CGI版のインストールはこちら
./configure --with-pgsql --enable-i18n --with-gd=/usr/local --with-freetype-dir=/usr/local --enable-gd-native-ttf=/usr --enable-mbstring --enable-jstring --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-tiff-dir=/usr --with-png-dir=/usr --with-ttf --enable-track-vars --enable-force-cgi-redirect --with-openssl
---
--enable-mbregex
PHP4用マルチバイト対応正規表現ライブラリ(mbregex)のインストールが必要
http://www.pat.hi-ho.ne.jp/dimension/inst/inst_unix_dso_4_mbregex2.shtml
$ tar zxf php4_mbregex-1.3.1.tar.gz -C /usr/local/src
$ cd /usr/local/src/mbregex/
---
./configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --enable-i18n --enable-mbregex --with-gd=/usr/local --with-ttf --enable-mbstring --enable-jstring --with-jpeg-dir=/usr --with-pdflib=/usr/local --with-zlib-dir=/usr --with-tiff-dir=/usr --with-png-dir=/usr --enable-multibyte
--prefix=/usr/local
--with-pgsql=/usr/local/pgsql
--with-apache=../apache_1.3.19
--enable-track-vars
--with-gd=/usr/local
--with-jpeg-dir=/usr/local
--with-xpm-dir=/usr/X11R6
httpd.confへ追加
LoadModule php4_module libexec/libphp4.so
|
| 文書番号 |
00445 |
| 日付 |
2004.03.06 |
| 参照数 |
2181 |
|