Update von PHP 4.3.1 auf 4.3.3 klappt net

Apache, Lighttpd, nginx, Cherokee
Post Reply
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.
Contact:
 

Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by blacktiger »

Hab mir die 4.3.3 gesaugt und wollte die jetzt mit folgendem Config installieren:
'./configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--with-apxs=/usr/sbin/apxs' '--with-mysql=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-freetype-dir=/usr' '--with-t1lib' '--enable-gd-native-ttf' '--with-gettext' '--with-zlib' '--with-openssl' '--with-bz2' '--enable-calendar' '--enable-ftp' '--with-dom' '--with-imap=yes' '--with-imap-ssl=yes' '--without-pear' '--enable-track-vars' '--enable-versioning' '--enable-magic-quotes' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-fastcgi' '--enable-sysvshm' '--enable-sysvsem' '--enable-sysvmsg' '--enable-sockets' '--enable-memory-limit' '--disable-ipv6' '--disable-debug' '--silent'
Das scheint auch alles funktioniert zu haben. Nur wenn ich jetzt eine phpinfo aufrufe, dann bekomme ich immer noch die alte Version angezeigt. Woran kann das denn liegen???
geeky
Posts: 22
Joined: 2003-08-31 18:35
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by geeky »

Du benutzt php also hier als apache-modul ?
Hast du die ältere mod_php vorher entfernt ? - Vielleicht konnte er die nich ersetzen oder er lädt immer noch die alte.
Guck mal in die log-files vom apache und prüf mal, ob der vielleicht versucht 2x nen mod_php zu laden...
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by chris76 »

Sorry wegen der dummen Frage, aber make install und so hast du schon gemacht, nicht nur kompiliert?
Apachen restartet?

Ciao Christian
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by blacktiger »

klar habe ich make install gemacht und den apache restartet...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by Joe User »

enthielt Dein ./configure wirklich die unmengen an Hochkomma?
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by blacktiger »

nein, dass hab ich schnell aus der phpinfo() rauskopiert...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by Joe User »

hast Du die vorige PHP-Installation deinstalliert (Wie?)?
cpr
Posts: 22
Joined: 2003-08-12 15:39
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by cpr »

vor dem kompilieren make clean und rm config.cache nicht vergessen.
Steht in PHPs INSTALL.txt
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by blacktiger »

hab ich alles gemacht, bringt aber nichts. er bringt mir nach dem make install immer folgende meldung:
pxxxxxxxx:/usr/local/src/lamps/php-4.3.3 # make install
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR - already installed: 1.2.1
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] DB - already installed: 1.5.0RC1
[PEAR] HTTP - already installed: 1.2.1
[PEAR] Mail - already installed: 1.1.1
[PEAR] Net_SMTP - already installed: 1.2.3
[PEAR] Net_Socket - already installed: 1.0.1
[PEAR] XML_Parser - already installed: 1.0.1
[PEAR] XML_RPC - already installed: 1.0.4
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
program: phpextdist
geeky
Posts: 22
Joined: 2003-08-31 18:35
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by geeky »

"Installing PHP SAPI module: cgi"

Configurierst du es nun als apache-Modul oder als cgi ?!
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by blacktiger »

als apache-modul. mein config steht ganz oben...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update von PHP 4.3.1 auf 4.3.3 klappt net

Post by Joe User »

Deine obige ./configure passt definitiv nicht zum gepostetem 'Log'...

Deinstalliere bitte ALLE vorhandenen PHP-Installationen, inklusive der verbleibenden (Konfigurations)Dateien, und starte Dein ./configure --$OPTIONS && make && make install anschliessend from scratch...
Post Reply