Page 1 of 1

PHP neu kompilieren

Posted: 2005-05-01 15:38
by ring
Hallo zusammen,
kann mir mal jemand einen Tipp geben, wie ich das auf dem neuen 1&1 root-Server (SUSE 9.1, APACHE2, PLESK 7.5) standartmäßig installierte PHP 4.3.4 neu kompilieren kann?

Im Auslieferzustand sind folgende module kompiliert:

Code: Select all

'./configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' 
und ich brauch für Typo3 mehr Module.

Danke und Gruß
- ring -

Re: PHP neu kompilieren

Posted: 2005-05-01 16:07
by bungeebug
dann solltest du in Erfahrung bringen welche ...

Re: PHP neu kompilieren

Posted: 2005-05-01 17:08
by ring
Welche weiß ich ja schon, darum gehts mir gar nicht. Nur das "wie" ist die Frage. Angenommen ich möchte bei meiner aktuellen ./configure oben anstelle von '--without-mysql' --> 'with-mysql' kompilieren.

Wo muß ich bei der vorinstallierten Version 4.3.4 auf dem 1&1 Root Server den modifizierten ./configure absetzen?

Danke und Gruß
- ring -

Re: PHP neu kompilieren

Posted: 2005-05-01 17:28
by bungeebug
ähh

wie wärs mit
:arrow: php runterladen
:arrow: entpacken
:arrow: ./configure nach deinen Wünschen
:arrow: make
:arrow: make install ?

Re: PHP neu kompilieren

Posted: 2005-05-01 17:42
by ring
Hi,
ja, das wär mal schön, wenn es denn klappen würde ...
Hab selbiges mit der Version "php-4.3.11" probiert. Ist alles ohne Probleme/Fehler durchgelaufen, nur sagt mir "phpinfo()" immer noch nur "PHP Version 4.3.4" :-(
Um es vorewegzunehmen, ja "rcapache2 restart" auch gemacht und wie gesagt "./configure ... mit den entsprechenden Modulen", "make" und "make install" waren OK.

Ich verstehs einfach nicht.

Gruß
- ring -

Re: PHP neu kompilieren

Posted: 2005-05-01 17:51
by padi
ring wrote:Hi,
ja, das wär mal schön, wenn es denn klappen würde ...
Hab selbiges mit der Version "php-4.3.11" probiert. Ist alles ohne Probleme/Fehler durchgelaufen, nur sagt mir "phpinfo()" immer noch nur "PHP Version 4.3.4" :-(
Um es vorewegzunehmen, ja "rcapache2 restart" auch gemacht und wie gesagt "./configure ... mit den entsprechenden Modulen", "make" und "make install" waren OK.

Ich verstehs einfach nicht.

Gruß
- ring -
Was sagt "php -v" ? Evtl. hast du PHP als CGI installiert.

Re: PHP neu kompilieren

Posted: 2005-05-01 17:59
by ring
Hi,
php -v sagt

Code: Select all

PHP 4.3.11 (cgi) (built: Apr 30 2005 22:08:52)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
aber die "phpinfo()" immer noch nur "PHP Version 4.3.4" :-( wie kann das sein?

Gruß
- ring -

Re: PHP neu kompilieren

Posted: 2005-05-01 18:11
by padi
Man muss immer beides update.

Re: PHP neu kompilieren

Posted: 2005-05-01 18:37
by oxygen
ring wrote: und ich brauch für Typo3 mehr Module.

Danke und Gruß
- ring -
Installier einfach die entsprechenden Pakete für die Module.

z.B. php4-mysql, php4-gd