php mit SuSE 10

O

OldAl

Grünschnabel
Sehr geherte Herren und Damen - und Freunde,

Ich habe meine instalation von Apache2 gelöscht und reinstalliert und nun Apache2 operiert ganz normal.

Mit SuSE 9,3 ging es ziemlich einfach. Da habe Ich apache benutzt um ein wenig die php Sprache zu lernen. Ich möchte gerne das auch mit SuSE 10 tun. Leider, nach installierung der php Pakete, wenn Ich versuche einen php Beispiel anschauen, mein Konqueror fragt mit welche program das man öfnen sollte. In SuSE 9,3 Konqueror hatte daß einfach als php program benützt.

Was soll Ich tun?

Sie haben natürlich bemerkt das meinKäntniss der Deutsche Sprache ist sehr gering. Eigentlcih, mir wäre es einfacher English schreiben. Wenn Sie antworten, Ich bitte Sie enweder Deutsch oder English schreiben.

Vielen Dank,

OldAl.
 
php with apache2 on SuSE 10 distro

devilz schrieb:
This could be the result of an misconfigured apache config ...

Please provide more Informations about your apache config!

httpd -V
httpd.conf
etc.

(see also http://dan.drydog.com/apache2php.html)

I have installed apache2 "out of the box", just as it is supplied by Novell-SuSE10, using DVD as the installation source. It is a "clean install" on a separate hdd partition. The earlier (and much loved) SuSE 9.3 is on another partition of the same hdd. I have not changed or edited the configuration files at all. The following is a copy of the console dialog, following your suggestion:

Password:
p4:/home/kabalg # httpd -V
bash: httpd: command not found
p4:/home/kabalg # httpd2 -V
Server version: Apache/2.0.54
Server built: Sep 9 2005 18:32:43
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_PIDLOG="/var/run/httpd2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
p4:/home/kabalg #


I have not looked up this link yet X( , but I will do so as soon as I have my breakfast - I hear my spouse of 57 years shouting - "where is my morning porridge?":brav:. I will read it as soon as I can - many thanks for pointing me in that direction.

Also, thank you for writing in English - much, much easier for me...

OldAl.
 
You should check that the PHP4 Module is loaded in the apache config (not sure - but there should a config in /etc/conf.d/apache ...)
 

Ähnliche Themen

Suse Linux 10 von HD Installieren Tut.

Zurück
Oben