PHP 4.0.6 & PHP 4.3.8 & Apache 2

Apache, Lighttpd, nginx, Cherokee
Post Reply
souldrinker
Posts: 32
Joined: 2004-11-30 13:22
 

PHP 4.0.6 & PHP 4.3.8 & Apache 2

Post by souldrinker »

Hallo,

schon wieder ein schönes Problem. Habe jetzt ja ein PHP 4.3.8 installiert, brauche aber zusätzlich ein PHP 4.0.6, weil ein älteres CMS nur mit dieser PHP Version läuft.

Ist gar kein Problem, integriere ich beide als Module die auf verschiedene Handler hören (Im PHP Source ändern). Jetzt habe ich bei der Kompilierung von PHP 4.0.6 aber das Problem, dass er mir kein ".so" File macht, also kein Apache Modul baut, obwohl ich ihm im Configure sage, wo der apxs2filter liegt, und dort liegt er tatsächlich.

Hier meine Configure-Anweisung:

Code: Select all

./configure --host=i386-redhat-linux 
--build=i386-redhat-linux 
--target=i386-redhat-linux-gnu 
--program-prefix=/usr/bin/php-4.0.6 
--prefix=/usr/bin/php-4.0.6 
--exec-prefix=/usr/bin/php-4.0.6 
--bindir=/usr/bin/php-4.0.6 
--sbindir=/usr/sbin/php-4.0.6 
--sysconfdir=/etc/php-4.0.6 
--datadir=/usr/share/php-4.0.6 
--includedir=/usr/include/php-4.0.6 
--libdir=/usr/lib/php-4.0.6 
--libexecdir=/usr/libexec/php-4.0.6 
--localstatedir=/var/php-4.0.6 
--with-config-file-path=/etc/php-4.0.6 
--sharedstatedir=/usr/com/php-4.0.6 
--mandir=/usr/share/man/php-4.0.6 
--infodir=/usr/share/info/php-4.0.6 
--with-mysql=shared,/usr 
--with-apxsfilter=/usr/sbin/apxs
Ist eine denkbar schmale Konfiguration, dient aber auch erst einmal nur zum testen, damit man ausschließen kann dass es an irgendwelchen - nicht vorhandenen, oder nicht ordentlich installierten Libraries liegt. Wenn einer da nen Tipp für mich hat, wie ich ein libphp4.so File bekomme, wäre ich sehr dankbar, ein libphp4.a File macht er mir.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PHP 4.0.6 & PHP 4.3.8 & Apache 2

Post by Joe User »

apxs2filter != apxsfilter
--target, --build und --host sind überflüssig und falsch...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
souldrinker
Posts: 32
Joined: 2004-11-30 13:22
 

Re: PHP 4.0.6 & PHP 4.3.8 & Apache 2

Post by souldrinker »

Hi,

hab jetzt wieder "apxs2filter" anstatt "apxsfilter" eingetragen :oops: hatte ich vorher so, und es zum testen geändert... Problem bleibt aber, dass er mir selbst nach "make" und anschließendem "make install" mit "libtool --finish libs" im "libs" Verzeichniss des installationsorders keine libphp4.so Datei erstellt.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PHP 4.0.6 & PHP 4.3.8 & Apache 2

Post by Joe User »

Woher hast Du diesen libtool Aufruf? Lass ihn weg...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
souldrinker
Posts: 32
Joined: 2004-11-30 13:22
 

Re: PHP 4.0.6 & PHP 4.3.8 & Apache 2

Post by souldrinker »

der steht bei der kompilierung von jedem php drin, wenn man ihn nicht vorm "make install" aufruft, ausserdem wird der beim "maken" auch 2 mal aufgerufen... hm..
Post Reply