[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:23275] php.ini
-
From:早間義博
-
Date:Wed, 28 Jul 2004 09:22:47 +0900 (JST)
- Subject: [plamo:23275] php.ini
- From: 早間義博<yossi@xxxxxxxxxxxxxx>
- Date: Wed, 28 Jul 2004 09:22:47 +0900 (JST)
早間です。
初めて、php を使おうとしています。
plamo-4.0 contrbute/WWW の
httpd-2.0.49-i386-P5.tgz
php-5.0.0RC3-i386-P1.tgz
phpPgAdmin-3.4-P1.tgz
をインストールしました。
php.ini を探しているのですが見つかりません。
/usr/share/doc/php-5.0.0RC3/INSTALL には次のように書いてあるのです
が /usr/local/lib/php.ini はありません。
---------------------------- ここから ---------------------------
$ cd ../apache_1.3.x
$ ./configure --prefix=/www --activate-module=src/modules/php5/libphp5.a
(The above line is correct! Yes, we know libphp5.a does not exist at this
stage. It isn't supposed to. It will be created.)
$ make
(you should now have an httpd binary which you can copy to your Apache bin dir if
is is your first install then you need to "make install" as well)
$ cd ../php-4.x.y
$ cp php.ini-dist /usr/local/lib/php.ini
You can edit /usr/local/lib/php.ini file to set PHP options.
Edit your httpd.conf or srm.conf file and add:
AddType application/x-httpd-php .php
---------------------------- ここまで ---------------------------
また、php-5.0.0RC2/manual-ja/zend.ini-file-support.html には下記の
ようにあります(「manual-じゃ」と読むのでしょうか、感謝をこめて)。
---------------------------- ここから ---------------------------
The permissions are grouped into three sections:PHP_INI_SYSTEM
allows a change only directly in the php.ini file; PHP_INI_USER
allows a change to be overridden by a user at runtime using
additional configuration files, such as .htaccess; and
PHP_INI_ALL allows changes to be made without
restrictions. There's also a fourth level, PHP_INI_PERDIR, for
which we couldn't verify its behavior yet.
---------------------------- ここまで ---------------------------
php.ini でどれ程変わるのでしょう。
/opt/httpd/htdocs/index.php は表示できるので php は問題なく働いて
いると思うのです。
ただ、php.ini を見てみたい。
-- 早間 yossi@yedo.src.co.jp
一時接続回線からプロバイダの mailaddress メイルを直接送信した
場合、受信しないことがありますのでご承知置き下さい。
詳しくは http://www.src.co.jp/greylisting.html をご覧ください。
- Follow-Ups
-
- [plamo:23276] Re: php.ini, Shun-ichi TAHARA (田原 俊一)
[検索ページ]
[メール一覧]
Plamo ML 公開システム