Debian - PHP5 nach Update von PHP4 nicht aktiv
Posted: 2006-12-01 13:44
Hallo,
ich versuche gerade meinen Debian Server von PHP4 auf PHP5 umzustellen. Aud Debianhelp UK gibt es dazu folgende Anleitung:
*************************************************
Update php4 to php5 in debian
If you want to install PHP5 from debian packages you need to enter the one of the source list in your /etc/apt/sources.list file
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
or
deb http://people.debian.org/~dexter php5 sarge
deb-src http://people.debian.org/~dexter php5 sarge
Now you need to save your file and run the following command to take our new changes effect
#apt-get update
Now you need to run the following command to update the PHP4 to PHP5 and this will install apache,mysql,ldap servers support for php5 modules also.
#apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-mysql php5-odbc php5-xslt
that's it you have installed PHP5 in your machine.If you want to check the PHP version you run the following command
#php -v
********************************************
Das Paket php5-xslt wurde nicht gefunden und ist somit nicht installiert. Bei php -v wird nun immer noch die alte PHP Version angezeigt. Den Apache Server habe ich neu gestartet, danach den Server neu gebootet - alles ohne Erfolg. Was muss ich tun um die neue Version aktiv ist?
Danke, Andy
ich versuche gerade meinen Debian Server von PHP4 auf PHP5 umzustellen. Aud Debianhelp UK gibt es dazu folgende Anleitung:
*************************************************
Update php4 to php5 in debian
If you want to install PHP5 from debian packages you need to enter the one of the source list in your /etc/apt/sources.list file
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
or
deb http://people.debian.org/~dexter php5 sarge
deb-src http://people.debian.org/~dexter php5 sarge
Now you need to save your file and run the following command to take our new changes effect
#apt-get update
Now you need to run the following command to update the PHP4 to PHP5 and this will install apache,mysql,ldap servers support for php5 modules also.
#apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-mysql php5-odbc php5-xslt
that's it you have installed PHP5 in your machine.If you want to check the PHP version you run the following command
#php -v
********************************************
Das Paket php5-xslt wurde nicht gefunden und ist somit nicht installiert. Bei php -v wird nun immer noch die alte PHP Version angezeigt. Den Apache Server habe ich neu gestartet, danach den Server neu gebootet - alles ohne Erfolg. Was muss ich tun um die neue Version aktiv ist?
Danke, Andy