PHP updaten, wie

Hmm, also wenn ich php reinstalle (über reinstall install) aktualisiert er mein jetziges PHP4, allerdings installiert er nicht PHP5.
Jetzt habe ich inzwischen allerdings ein anderes Problem: wenn ich versuche über ein PHP-Script auf meinem mySQL-Server ne DB anzulegen gehts nicht, mySQL ist installiert, phpMyAdmin kann auch darauf zugreifen etc., aber irgendwie will der keine Datenbanken anlegen oder Einträge erstellen.

In der info.php (also eben in der Auflistung über phpinfo(); ) steht auch without==mysql, daher denke ich mal hängt das damit zusammen...

Jetzt versuche ich erstmal PHP5 zu installen, und da versuch ich auch mysql reinzupflanzen. :D

Wenns ned klappt bin ich wieder hier... :D

Servus, greetz KingChimera
 
das heisst ich schreibe es so rein

deb [ftp|http]://ftp.de.debian.org/backports.org/ sarge-backports main contrib non-free
?

müssen es nicht zwei zeilen immer sein?
weil mit apt-get update bekomme ich leider nur php 4.3 und ich brauche php 5.2.4 :/
ich gehe nem tutorial total snach schritt für schritt

aber dann kommt folgendes
das ist das tutorial http://www.debianhelp.co.uk/apachephp5.htm
kann mri jemand die fehler sagen?
Forcing reload of web server: Apache2grep: /etc/apache2/mods-enabled/php5.load: No such file or directory
grep: /etc/apache2/mods-enabled/php5.conf: No such file or directory
... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
apache2: could not open document config file /etc/apache2/mods-enabled/php5.load
Bei "apt-get install php5" kommt das was kann ich tun?
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5: Depends: libapache2-mod-php5 (>= 5.2.3-0.dotdeb.1) or
libapache-mod-php5 (>= 5.2.3-0.dotdeb.1) or
php5-cgi (>= 5.2.3-0.dotdeb.1)
E: Broken packages
 
Zuletzt bearbeitet:
Zurück