[Momonga-devel.ja:02140] Re: PHP 4.3.4RC1 and PHP 5.0.0CVS
- From: Yonekawa Susumu <yonekawa@xxxxxxxxxxx>
- Date: Wed, 08 Oct 2003 23:08:08 +0900 (JST)
よねかわです
On Tue, 07 Oct 2003 20:03:32 +0900
Yasuo Ohgaki <yohgaki@xxxxxxxxxx> wrote:
> OmoiKondaraで利用できるPHP 4.3.4RC1とPHP 5.0.0CVS版を
> http://www.momonga-linux.org/~yohgaki/
> php-4.3.4RC1-1m.tar.gz 07-Oct-2003 19:37 3.6M
> php5-200310070330-1m.tar.bz2 07-Oct-2003 17:54 7.5M
> に置きました。
ええと、php-4.3.4RC1-1m.tar.gz の中身は、
実質 php-4.3.4RC1-1m.tar.bz2 ですね :-)
php-4.3.4RC1 を、少ないモジュール(php, php-mysql)で試しました。
テスト用極低負荷の状態ではうまく動いているようです。
ただし、/etc/php/php-apache2filter.ini の内容を見てくれていないようです。
/etc/php/php-apache2handler.ini とファイル名を変えると見てくれます。
よく調べていないのですが、PHP 4.3.2 の変更点に関係するようです。
New Apache 2.0 SAPI module (sapi/apache2handler, enabled with
--with-apxs2)
# ちなみに、Apache Filter にしたい場合は、--with-apxs2 の代わりに
# --with-apxs2filter とすれば良いらしいです
--
米川
diff -urN php-4.3.4RC1-1m/php.spec php/php.spec
--- php-4.3.4RC1-1m/php.spec 2003-10-07 12:05:02.000000000 +0900
+++ php/php.spec 2003-10-08 22:19:40.000000000 +0900
@@ -182,7 +182,7 @@
creating GTK applications using PHP-GTK.
This sub-package is governed by /etc/php/php-cli.ini instead of the
-/etc/php/php-apache2filter.ini configuration file. CLI is not fully
+/etc/php/php-apache2handler.ini configuration file. CLI is not fully
CGI binary compatible.
%package cgi
@@ -212,9 +212,9 @@
well. Most people do not need this package.
This sub-package is governed by /etc/php/php-cgi.ini instead of the
-normal /etc/php/php-apache2filter.ini configuration file. By default,
+normal /etc/php/php-apache2handler.ini configuration file. By default,
the /etc/php/php-cgi.ini is a symbolic link to
-/etc/php/php-apache2filter.ini. CGI is not fully compatible with CLI.
+/etc/php/php-apache2handler.ini. CGI is not fully compatible with CLI.
%package devel
Summary: Files needed for building PHP extensions.
@@ -825,7 +825,7 @@
install -m 755 -d %{buildroot}%{_libdir}/httpd/modules
install -m 755 libs/libphp4.so %{buildroot}%{_libdir}/httpd/modules
-# install PHP filter definition to Apache config fragment dir
+# install PHP handler definition to Apache config fragment dir
install -m 755 -d %{buildroot}%{_sysconfdir}/httpd/conf.d
install -m 644 %{SOURCE50} %{buildroot}%{_sysconfdir}/httpd/conf.d
@@ -841,8 +841,8 @@
ln -sf %{_sysconfdir}/php/php-apache.ini %{buildroot}%{_sysconfdir}/php/php-cgi.ini
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/php/php-apache.ini
%else
-ln -sf %{_sysconfdir}/php/php-apache2filter.ini %{buildroot}%{_sysconfdir}/php/php-cgi.ini
-install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/php/php-apache2filter.ini
+ln -sf %{_sysconfdir}/php/php-apache2handler.ini %{buildroot}%{_sysconfdir}/php/php-cgi.ini
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/php/php-apache2handler.ini
%endif
install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/php/php-cli.ini