phpbar.de logo

Mailinglisten-Archive

[php] nochmal wegen Zend parallel nutzen

[php] nochmal wegen Zend parallel nutzen

Thomas 'Balu' Walter tw_(at)_itreff.de
Tue, 4 Jan 2000 10:36:02 +0100


+-Egon Schmid-<eschmid_(at)_php.net>-[04.01.00]
| Tzwenny (Sven Lauer) wrote:
[ueber die parallele Nutzung von PHP3 & 4]

Soweit ich die INSTALL der 4b3 verstanden habe, braucht man
APXS-Unterstuetzung im Apache um beide Module benutzen zu koennen:

----- 8< ----- Anfang des Ausschnitss aus INSTALL ----- 8< -----
USING PHP3 AND PHP4 AS CONCURRENT APACHE MODULES

   Recent operating systems provide the ability to perform versioning and
   scoping. This features make it possible to let PHP3 and PHP4 run as
   concurrent modules in one Apache server.

   This feature is known to work on the following platforms:

   - Linux with recent binutils (binutils 2.9.1.0.25 tested)
   - Solaris 2.5 or better
   - FreeBSD (3.2, 4.0 tested)

   To enable it, configure PHP3 and PHP4 to use APXS (--with-apxs) and the
   necessary link extensions (--enable-versioning). Otherwise, all standard
   installations instructions apply. For example:

                $ ./configure \
                                --with-apxs=/apache/bin/apxs \
                                --enable-versioning \
                                --with-mysql \
                                --enable-track-vars
-----8<----- Ende des Ausschnitts aus INSTALL ----- 8< -----

Ich habe das ganze versucht, apache laeuft auch mit beiden Modulen
(jedenfalls behauptet er das beim Start:

[Tue Jan  4 11:23:33 2000] [notice] Apache/1.3.9 (Unix) PHP/4.0b3 PHP/3.0.13
configured -- resuming normal operations

In der httpd.conf habe ich beide aktiviert:

LoadModule php3_module        libexec/libphp3.so
LoadModule php4_module        libexec/libphp4.so
AddModule mod_php3.c
AddModule mod_php4.c
# changed, 20000103 - Balu: added .php3 (changed source to php3s)
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
# changed, 20000103 - Balu: added php4
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4-source .php4s

Trotzdem wollen meine Browser (Lynx/Netscape) PHP4-Seiten nicht als html-Seite
anzeigen, lynx moechte sie als Typ application/x-httpd-php4 runterladen,
Netscape zeigt den Source als Text an.

Woran koennte das liegen?

     Balu


php::bar PHP Wiki   -   Listenarchive