Archiv verlassen und diese Seite im Standarddesign anzeigen : DEBIAN apache,php,mysql
Hallo,
ich wollte mal ein bisschen mit Nuke
spielen und hab mit unter woody apache php4 und mysql installiert.
Aber php geht nicht , mysql tuts...
Wie starte ich den php ??
Wenn ich die Seite auf öffne z.B. admin.php
will mein Rechner die downloaden.
Hat jemand einen Tipp
Jens
Berufspenner
14.11.02, 19:56
Hi
In der httpd.conf musst du mal nach folgendem Eintrag suchen und ihn editieren:
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
Und dann musst du gucken ob das php-module überhaupt vom Apachen geladen wird:
LoadModule php4_module libexec/libphp4.soCu
sun:~# dpkg --get-selections | grep php
php4 install
php4-cgi install
php4-mysql install
sun:~#
sun:~# cat /etc/apache/httpd.conf | grep "^[^#].*php"
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
DirectoryIndex index.html index.php3 index.php index.htm index.shtml index.cgi
# distribution - see http://www.php.net) will typically use:
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
sun:~#
das sollte dir weiterhelfen ;)
Markus
Vielen Dank,
es funktioniert.
Gibt es denn eine gute deutsche doku zu Php-nuke.
Und welche server nutzt ihr denn ??? Ich meine Provider,
die mysql und php anbieten ??
Gruß
Jens
hmm, Doku gibt es eine, aber afaik noch nicht für die aktuellste Version!
Schau mal unter http://www.phpnuke.de
Ich hab bis jetzt noch kein Manual benötigt, hat eigentlich alles so geklappt!
cu
Jochen
Vielen Dank,
kann man auch Bilder in Nuke aufnehmen ?
So, wie ein Album ??
Jens
Klar kann man das! Schau mal auf meine Seite, das siehst du das Modul! Das Modul kannst du auf http://www.phpnuke.de oder auf http://www.warp-speed.de herunterladen!
cu
Jochen
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.