CentOS 5: PHP Update von 5.1.x auf 5.2.x

nicole1

New Member
Hallo zusammen,

ich bin neu hier und hoffe eine Lösung für mein anhaltendes Problem zu finden:

Ich habe Cent OS 5 mit PHP 5.1.6, ich brauche jedoch zwingend die Version PHP 5.2.12.

Ich habe es in einer Versuchsumgebung auf die 5.3 geschafft, jedoch gibt es keinen ZendOptimizer für 5.3.

Ich finde natürlich überall die PHP Versionen die ich benötige im Netz, jedoch bekomme ich die Installation einfach nicht hin.

Ist jemand unter euch der eine Step-by-Step Anleitung parat hat so dass ich endlich meine geliebte 5.2.x Version draufbekomme? ;)

Vielen lieben Dank im Voraus.

Nicole
 
hallo,

die php v. 5.2.17 läuft nun, vielen dank.

allerdings hat sich dadurch ein neues problem ergeben, und zwar lässt sich der mysql dienst nicht mehr starten.

im log file steht folgendes:

Code:
110110  7:32:25  InnoDB: Starting shutdown...
110110  7:32:30  InnoDB: Shutdown completed; log sequence number 0 1412811
110110  7:32:30 [Note] /usr/libexec/mysqld: Shutdown complete

110110 07:32:30 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
110110 07:36:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110110  7:36:18 [Note] Plugin 'ndbcluster' is disabled.
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
110110  7:36:18 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110110  7:36:18  InnoDB: Initializing buffer pool, size = 2.0M
110110  7:36:18  InnoDB: Completed initialization of buffer pool
110110  7:36:18  InnoDB: Started; log sequence number 0 1412811
110110  7:36:18 [ERROR] /usr/libexec/mysqld: unknown option '--skip-bdb'
110110  7:36:18 [ERROR] Aborting


was nun? :(

vielen dank nochmals.
 
sieht beinahe so aus? ;)

aber ist kein problem ist in ner testumgebung,

was wären die richtigen schritte?

1. wget -q -O - http://www.atomicorp.com/installers/atomic | sh
2. yum -checkupdate ?
3. mit yum -update macht es ja automatisch die ganzen updates, wie kann ich hier die php pakete selektieren?

vielen dank nochmals
nicole
 
1. repo installieren
2. nur das installieren, was du brauchst.
Code:
yum check-update
zeigt dir alle verfügbaren Updates an.
Ich empfehle dir das Manual:
Code:
man yum
 
Hallo,

ich habe das mal mit den yum Update versucht mit dem Befehl:
yum update php

bekomme aber die Meldung:
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64

Kann mir vielleicht einer Helfen was falsch läuft :(
 
Back
Top