PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme bei PHP 4.4.9 updaten



gutty
07.02.09, 21:58
Hallo,

ich habe probleme, auf 4.4.9 upzudaten. Liegt vielleicht daran, dass ich bei linux noch recht neu bin.
Ich habe debian 4 mit apache2 und 4.4.4-8+etch6, alles läuft perfekt.

dann habe ich 4.4.9 runtergeladen und compiliert (configure, make, make install), aber der apache2 benutzt nach wie vor die alte version von php.

jetzt bitte keine ratschläge auf php5 etc.,... das ist momentan nicht machbar, da die php scripts noch nicht angepasst sind.

ich hab viel gesucht, aber nix konkretes gefunden, kann mir hier jemand n guten tipp geben?

Gutty aus Spanien

P17
07.02.09, 22:05
ldconfig nach der installation ausgeführt?

Gibt es einen grund, warum du nicht die php-version aus den repos nimmst?

gutty
07.02.09, 22:13
ldconfig ? nein, wusste bis dato nichts darüber. werde es montag probieren.

wo finde ich die repos? mit apt-get update und install php4 findet er nix.

klar, als paket installieren wär mir klar das liebste. falls nicht, was muss ich den dann alles machen, un manuell zu installieren?
ist
./configure
make
make install
ldconfig

alles? oder fehlt noch was?

P.S. danke fuer die schnelle antwort

P17
07.02.09, 22:25
ldconfig ? nein, wusste bis dato nichts darüber.
ldconfig verwaltet den library cache. Der sollte nach jeder manuellen installation upgedatet werden.
http://www.linux-praxis.de/lpic1/lpi101/1.102.4.html


wo finde ich die repos? mit apt-get update und install php4 findet er nix.

aptitude search '^php4'
wenn er damit nichts findet, solltest du eine /etc/apt/sources.list anpassen.

gutty
07.02.09, 22:41
hat nichts gefunden, wo ich sagen koennte, das passt.

kam nur das:


aptitude search '^php4'
i php4 - server-side, HTML-embedded scripting language (meta-
p php4-apache2-mod-bt - PHP bindings for mod_bt
p php4-apd - PHP code execution profiler and debugger
p php4-auth-pam - A PHP4 extension for PAM authentication
p php4-cgi - server-side, HTML-embedded scripting language (CGI b
p php4-clamavlib - PHP ClamAV Lib - ClamAV Interface for PHP4 Scripts
p php4-cli - command-line interpreter for the php4 scripting lang
i php4-common - Common files for packages built from the php4 source
p php4-curl - CURL module for php4
p php4-dev - Files for PHP4 module development
p php4-domxml - XMLv2 module for php4
i php4-gd - GD module for php4
v php4-gd2 -
p php4-idn - PHP api for the IDNA library
p php4-imagick - ImageMagick module for php4
p php4-imap - IMAP module for php4
p php4-interbase - interbase/firebird module for php4
p php4-json - json serialiser for PHP4
p php4-kadm5 - An extension to manage kerberos admin information
p php4-lasso - Liberty ID-FF library - PHP 4 bindings
p php4-ldap - LDAP module for php4
p php4-librdf - PHP4 language bindings for the Redland RDF library
p php4-mapscript - module for php4-cgi to use mapserver
p php4-maxdb - PHP extension to access MaxDB databases for PHP 4
p php4-mcal - MCAL calendar module for php4
p php4-mcrypt - MCrypt module for php4
p php4-memcache - memcache extension module for PHP4
p php4-mhash - MHASH module for php4
p php4-ming - Ming module for php4
i php4-mysql - MySQL module for php4
p php4-odbc - ODBC module for php4
p php4-pear - PHP Extension and Application Repository (transition
p php4-pgsql - PostgreSQL module for php4
p php4-ps - ps module for PHP 4
p php4-pspell - pspell module for php4
p php4-recode - Character recoding module for php4
p php4-snmp - SNMP module for php4
p php4-spplus - Secured payment system of the Caisse d'Epargne (Fren
p php4-sqlite - PHP4 bindings to SQLite, a file-based SQL engine
p php4-sqlite3 - PHP4 bindings to SQLite3, a file-based SQL engine
p php4-suhosin - advanced protection module for php4
p php4-sybase - Sybase / MS SQL Server module for php4
p php4-syck - YAML parser kit -- PHP4 bindings
p php4-tclink - TrustCommerce TCLink module for php4
p php4-uuid - OSSP uuid module for php4
p php4-xapian - Xapian search engine interface for PHP4
p php4-xslt - XSLT module for php4


welche ressourcen muss ich in die /etc/apt/sources.list eintragen? stehen nur die debian server drin

P17
08.02.09, 09:34
i php4
Dein php4 ist schon installiert. Ich würde die version auch so lassen. Ausser, du weisst genau, warum du selbst kompilieren willst/musst.

Bald ist debian lenny stable, und dann kannst du ja ein dist-upgrade machen. Mit php5.

gutty
09.02.09, 11:40
Ich will eigentlich nicht selbst kompilieren, habs nur probiert, weil ich kein fertiges Paket gefunden habe.

Auf PHP5 kann ich noch nicht updaten, da einige Sachen nicht laufen.

Ich will eigentlich nur aus Sicherheitsgründen die version 4.4.9 von PHP installien.

Wo bekomme ich ein fertiges Paket für Debian?