php.de

Zurück   php.de > Webentwicklung > Server, Hosting und Workstations

Server, Hosting und Workstations Server-Konfigurationsdateien (.htaccess/httpd.conf) und Arbeiten auf Serverebene

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 08.05.2011, 20:03  
Neuer Benutzer
 
Benutzerbild von horstschulz
 
Registriert seit: 28.12.2010
Beiträge: 3
PHP-Kenntnisse:
Anfänger
horstschulz befindet sich auf einem aufstrebenden Ast
Standard opensuse 11.3 apache2 kein php

hallo und vorab schon einmal vielen Dank für mögliche Hilfen!
Mein Problem ist schon etliche male im Internet beschrieben worden, aber ich habe nach tagelangen Suchen keine funktionierende Lösung gefunden.

Zur Information:
System: OpenSuse 11.3 installiert und gleichzeitig bei der Paketauswahl zum Installationszeitpunk
Installiert: Apache 2.2 von der Installations-Cd
mit PHP Version 5.3.3 von der Installations-Cd

Bei der Installation sind keine Fehler aufgetreten, oder wurden Warnungen angezeigt.
Der Server ist gestartet und der Aufruf localhost funzt.
Was nicht klappt: PHP!
Es wird nur eine leere Seite angezeigt.

Ich weiß, es muß noch in einer, oder mehreren der vielen .conf Dateien Einstellungen vorgenommen werden, aber ich weiß nicht wo.

Ich liefere auf jeden Fall schon einmal meine Apache Fehler-Dateien und die httpd.conf mit.
Denn danach wird sicherlich gefragt werden.

Code:
#
# /etc/apache2/httpd.conf 
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs-2.2/> for detailed information about
# the directives.

# Based upon the default apache configuration file that ships with apache,
# which is based upon the NCSA server configuration files originally by Rob
# McCool. This file was knocked together by Peter Poeml <poeml+apache@suse.de>.

# If possible, avoid changes to this file. It does mainly contain Include
# statements and global settings that can/should be overridden in the
# configuration of your virtual hosts.

# Quickstart guide:
# http://en.opensuse.org/Apache_Quickstart_HOWTO


# Overview of include files, chronologically:
#
# httpd.conf
#  | 
#  |-- uid.conf  . . . . . . . . . . . . . .  UserID/GroupID to run under
#  |-- server-tuning.conf  . . . . . . . . .  sizing of the server (how many processes to start, ...)
#  |-- sysconfig.d/loadmodule.conf . . . . .[*] load these modules
#  |-- listen.conf . . . . . . . . . . . . .  IP adresses / ports to listen on
#  |-- mod_log_config.conf . . . . . . . . .  define logging formats
#  |-- sysconfig.d/global.conf . . . . . . .[*] server-wide general settings
#  |-- mod_status.conf . . . . . . . . . . .  restrict access to mod_status (server monitoring)
#  |-- mod_info.conf . . . . . . . . . . . .  restrict access to mod_info
#  |-- mod_usertrack.conf  . . . . . . . . .  defaults for cookie-based user tracking
#  |-- mod_autoindex-defaults.conf . . . . .  defaults for displaying of server-generated directory listings
#  |-- mod_mime-defaults.conf  . . . . . . .  defaults for mod_mime configuration
#  |-- errors.conf . . . . . . . . . . . . .  customize error responses
#  |-- ssl-global.conf . . . . . . . . . . .  SSL conf that applies to default server _and all_ virtual hosts
#  |
#  |-- default-server.conf . . . . . . . . .  set up the default server that replies to non-virtual-host requests
#  |    |--mod_userdir.conf  . . . . . . . .  enable UserDir (if mod_userdir is loaded)
#  |    `--conf.d/apache2-manual?conf  . . .  add the docs ('?' = if installed)
#  |
#  |-- sysconfig.d/include.conf  . . . . . .[*] your include files 
#  |                                             (for each file to be included here, put its name 
#  |                                              into APACHE_INCLUDE_* in /etc/sysconfig/apache2)
#  |
#  `-- vhosts.d/ . . . . . . . . . . . . . .  for each virtual host, place one file here
#       `-- *.conf . . . . . . . . . . . . .     (*.conf is automatically included)
#
#
# Files marked[*] are created from sysconfig upon server restart: instead of
# these files, you edit /etc/sysconfig/apache2



#  Filesystem layout:
#
# /etc/apache2/
#  |-- charset.conv  . . . . . . . . . . . .  for mod_auth_ldap
#  |-- conf.d/
#  |   |-- apache2-manual.conf . . . . . . .  conf that comes with apache2-doc
#  |   |-- mod_php4.conf . . . . . . . . . .  (example) conf that comes with apache2-mod_php4
#  |   `-- ... . . . . . . . . . . . . . . .  other configuration added by packages
#  |-- default-server.conf
#  |-- errors.conf
#  |-- httpd.conf  . . . . . . . . . . . . .  top level configuration file
#  |-- listen.conf
#  |-- magic
#  |-- mime.types -> ../mime.types
#  |-- mod_autoindex-defaults.conf
#  |-- mod_info.conf
#  |-- mod_log_config.conf
#  |-- mod_mime-defaults.conf
#  |-- mod_perl-startup.pl
#  |-- mod_status.conf
#  |-- mod_userdir.conf
#  |-- mod_usertrack.conf
#  |-- server-tuning.conf
#  |-- ssl-global.conf
#  |-- ssl.crl/  . . . . . . . . . . . . . .  PEM-encoded X.509 Certificate Revocation Lists (CRL)
#  |-- ssl.crt/  . . . . . . . . . . . . . .  PEM-encoded X.509 Certificates
#  |-- ssl.csr/  . . . . . . . . . . . . . .  PEM-encoded X.509 Certificate Signing Requests
#  |-- ssl.key/  . . . . . . . . . . . . . .  PEM-encoded RSA Private Keys
#  |-- ssl.prm/  . . . . . . . . . . . . . .  public DSA Parameter Files
#  |-- sysconfig.d/  . . . . . . . . . . . .  files that are created from /etc/sysconfig/apache2
#  |   |-- global.conf
#  |   |-- include.conf
#  |   `-- loadmodule.conf
#  |-- uid.conf
#  `-- vhosts.d/ . . . . . . . . . . . . . .  put your virtual host configuration (*.conf) here
#      |-- vhost-ssl.template
#      `-- vhost.template



### Global Environment ######################################################
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests.

# run under this user/group id
Include /etc/apache2/uid.conf

# - how many server processes to start (server pool regulation)
# - usage of KeepAlive
Include /etc/apache2/server-tuning.conf

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog /var/log/apache2/error_log

# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf

# IP addresses / ports to listen on
Include /etc/apache2/listen.conf

# predefined logging formats
Include /etc/apache2/mod_log_config.conf

# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf

# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf

# optional cookie-based user tracking
# read the documentation before using it!!
Include /etc/apache2/mod_usertrack.conf

# configuration of server-generated directory listings
Include /etc/apache2/mod_autoindex-defaults.conf

# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf

# set up (customizable) error responses
Include /etc/apache2/errors.conf

# global (server-wide) SSL configuration, that is not specific to 
# any virtual host
Include /etc/apache2/ssl-global.conf

# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
########################################################################
# List of resources to look for when the client requests a directory
# ##########################################################################
# DirectoryIndex index.html index.html.var
DirectoryIndex index.html index.php index.htm

# AddType application/x-httpd-php .php .phtml .php3 .php4 .php5
# DirectoryIndex index.html index.htm index.shtml index.stm index.cgi index.pl index.php index.xhtml


### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf


# Another way to include your own files
#
# The file below is generated from /etc/sysconfig/apache2,
# include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and
# APACHE_CONF_INCLUDE_DIRS
Include /etc/apache2/sysconfig.d/include.conf


### Virtual server configuration ############################################
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf
# Note: instead of adding your own configuration here, consider 
#       adding it in your own file (/etc/apache2/httpd.conf.local)
#       putting its name into APACHE_CONF_INCLUDE_FILES in 
#       /etc/sysconfig/apache2 -- this will make system updates 
#       easier :)
die Fehlermeldungen:
access_log:


Zitat:
::1 - - [07/May/2011:12:49:48 +0200] "GET / HTTP/1.1" 200 44 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:12:49:48 +0200] "GET /favicon.ico HTTP/1.1" 200 302 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:12:49:59 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:12:58:48 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:12:59:03 +0200] "GET /infophp.php HTTP/1.1" 404 1154 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:16:35 +0200] "GET /infophp.php HTTP/1.1" 404 1154 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:16:43 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:16:45 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:30:26 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:30:28 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:31:40 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:31:42 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:31:43 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:33:01 +0200] "GET /phpinfo.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:33:05 +0200] "GET /phpinfo.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:34:28 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:35:11 +0200] "GET /phpinfo.php HTTP/1.1" 200 44 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:13:35:13 +0200] "GET /phpinfo.php HTTP/1.1" 200 44 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:19:44:15 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:19:44:34 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:01:04 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:01:05 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:37 +0200] "GET / HTTP/1.1" 403 1120 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:39 +0200] "GET / HTTP/1.1" 403 1120 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:40 +0200] "GET / HTTP/1.1" 403 1120 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:49 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:51 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:51:52 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:53:17 +0200] "GET /phpinfo.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
::1 - - [07/May/2011:20:53:21 +0200] "GET / HTTP/1.1" 200 44 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17"
die error_log:

Zitat:
[Sat May 07 21:28:37 2011] [notice] Apache/2.2.15 (Linux/SUSE) PHP/5.3.3 mod_perl/2.0.4 Perl/v5.12.1 configured -- resuming normal operations
also leer.

Vielleicht noch:
horst-s:/ # apache2ctl -M

Zitat:
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authz_host_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authz_groupfile_module (shared)
authn_file_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
userdir_module (shared)
asis_module (shared)
imagemap_module (shared)
php5_module (shared)
perl_module (shared)
authz_default_module (shared)
Syntax OK
Was fehlt noch an Info?
__________________
ich hasse Streß,
Horst
horstschulz ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 08.05.2011, 20:15  
Erfahrener Benutzer
 
Registriert seit: 26.12.2010
Beiträge: 175
PHP-Kenntnisse:
Anfänger
elise befindet sich auf einem aufstrebenden Ast
Standard

erste Idee wegen der "leeren" Seite:

du hast die short_open_tags auf off (ist die korrekte Voreinstellung seit längerem).

du schreibst

PHP-Code:
<?php
echo "hey ho";
?>
und nicht
PHP-Code:
<?
echo "hey ho";
?>
__________________
OSL♥
elise ist offline   Mit Zitat antworten
Alt 08.05.2011, 21:36  
Neuer Benutzer
 
Benutzerbild von horstschulz
 
Registriert seit: 28.12.2010
Beiträge: 3
PHP-Kenntnisse:
Anfänger
horstschulz befindet sich auf einem aufstrebenden Ast
Standard

vielen Dank für die Antwort,
aber die Seiten bleiben leer!
__________________
ich hasse Streß,
Horst
horstschulz ist offline   Mit Zitat antworten
Alt 08.05.2011, 21:49  
Erfahrener Benutzer
 
Registriert seit: 26.12.2010
Beiträge: 175
PHP-Kenntnisse:
Anfänger
elise befindet sich auf einem aufstrebenden Ast
Standard

2. Idee

überprüfe, ob php die geeigneten Rechte hat, mit dem Apachen zu kommunizieren.
__________________
OSL♥
elise ist offline   Mit Zitat antworten
Alt 09.05.2011, 09:37  
Erfahrener Benutzer
 
Registriert seit: 01.09.2010
Beiträge: 4.563
PHP-Kenntnisse:
Fortgeschritten
eagle275 ist ein sehr geschätzer Menscheagle275 ist ein sehr geschätzer Menscheagle275 ist ein sehr geschätzer Mensch
Standard

Zitat:
Zitat von elise Beitrag anzeigen
erste Idee wegen der "leeren" Seite:

du hast die short_open_tags auf off (ist die korrekte Voreinstellung seit längerem).

du schreibst

PHP-Code:
<?php
echo "hey ho";
?>
und nicht
PHP-Code:
<?
echo "hey ho";
?>
blödschrott .. genau umgekehrt ...

SHORT_open_tags auf OFF ->

<?PHP

ON->

<?

und das obere ist Standard
__________________
"Irren ist männlich", sprach der Igel und stieg von der Drahtbürste
eagle275 ist offline   Mit Zitat antworten
Alt 09.05.2011, 10:43  
Erfahrener Benutzer
 
Registriert seit: 26.12.2010
Beiträge: 175
PHP-Kenntnisse:
Anfänger
elise befindet sich auf einem aufstrebenden Ast
Standard

genau lesen, bevor schimpfen:
so meinte ich es.

__________________
OSL♥
elise ist offline   Mit Zitat antworten
Alt 09.05.2011, 10:45  
Erfahrener Benutzer
 
Registriert seit: 01.09.2010
Beiträge: 4.563
PHP-Kenntnisse:
Fortgeschritten
eagle275 ist ein sehr geschätzer Menscheagle275 ist ein sehr geschätzer Menscheagle275 ist ein sehr geschätzer Mensch
Standard

das du das so meintest ist schön - aber das musst du wirklich noch dranschreiben - es liest sich nämlich genau umgekehrt
__________________
"Irren ist männlich", sprach der Igel und stieg von der Drahtbürste
eagle275 ist offline   Mit Zitat antworten
Alt 09.05.2011, 10:47  
Erfahrener Benutzer
 
Registriert seit: 26.12.2010
Beiträge: 175
PHP-Kenntnisse:
Anfänger
elise befindet sich auf einem aufstrebenden Ast
Standard

na dann... hast du es ja jetzt entgültig geklärt.
__________________
OSL♥
elise ist offline   Mit Zitat antworten
Alt 09.05.2011, 11:47  
Neuer Benutzer
 
Benutzerbild von horstschulz
 
Registriert seit: 28.12.2010
Beiträge: 3
PHP-Kenntnisse:
Anfänger
horstschulz befindet sich auf einem aufstrebenden Ast
Standard Danke für die Antwort

das sind aber alles Test. die ich schon erledigt habe, und es trotzdem zu keinem Erfolg führte.
So war zb. die
Zitat:
mod_php5.so
nicht ausführbar, habe ich geändert, brachte aber nichts.
Was mich auch stutzig macht, ist die Tatsache, das ich in noch keinem Forum einen Beitrag gefunden habe, in dem steht, das Problem ist gelöst, und wie es gelöst wurde.

In einen anderen Beitrag wurde folgende Lösung angeboten:
Zitat:
ich hatte ebenfalls das gleiche Problem, das PHP nicht richtig funktioniert hat.

nachdem die nachstehenden Zeilen in die HTTPD.conf Datei direkt eingetragen worden sind, hat es endlich funktioniert:

LoadModule php5_module /usr/lib64/apache2/mod_php5.so
LoadModule php5_module /usr/lib64/apache2/mod_php6.so

AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5
AddHandler application/x-httpd-php .php6
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .php4s
AddHandler application/x-httpd-php-source .php5s
AddHandler application/x-httpd-php-source .php6s
AddHandler application/x-httpd-php-source .phps
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php6
DirectoryIndex index.php


Beim Testen der Config-Datei wird allerdings jetzt eine Warnung ausgegeben:

rcapache2 test

[warn] module php5_module is already loaded, skipping
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using [IP-Adresse] for ServerName
Syntax OK

Jedoch werden die PHP-Scripte nun korrekt ausgeführt.

Woher der andere Fehler herrührt, konnte ich derzeit noch nicht klären.
Kann mir einer was dazu sagen?
__________________
ich hasse Streß,
Horst
horstschulz ist offline   Mit Zitat antworten
Alt 09.05.2011, 11:58  
Moderator¹
 
Registriert seit: 28.03.2010
Beiträge: 7.470
PHP-Kenntnisse:
Fortgeschritten
ChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer Anblick
Standard

Zitat:
Zitat von horstschulz Beitrag anzeigen
[warn] module php5_module is already loaded, skipping
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using [IP-Adresse] for ServerName
Der erste Fehler dürfte wohl selbsterklärend sein ...
Und bzgl. des zweiten, siehe http://httpd.apache.org/docs/2.2/en/...tml#servername
__________________
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?
ChrisB ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Windows7 + openSUSE auf einen pc kevbog Off-Topic Diskussionen 5 14.12.2010 13:07
Apache2 mit mehreren php-Versionen Adam789 Server, Hosting und Workstations 4 06.05.2010 13:24
oci_connect OpenSUSE 11.1 x64 Apache 5.2.11 happykorax Datenbanken 1 05.01.2010 12:06
[Erledigt] Apache2 Server zeigt teilweise Seiten nicht an mastertnt Server, Hosting und Workstations 0 04.03.2009 22:19
Apache2 php session Problem bei mod_userdir stanlija Server, Hosting und Workstations 2 01.10.2008 16:03
php 4 und php 5 auf opensuse 10 installieren Halil PHP Tipps 2008 1 19.09.2007 18:04
php-Anwendungen starten nicht unter Apache2 puba PHP Tipps 2008 1 14.09.2007 21:46
Apache2 PHP5 - "AddModule mod_php5.c" PHP Tipps 2006 8 23.01.2006 14:33
php5 auf apache2 einrichten Server, Hosting und Workstations 4 24.08.2005 15:55
PHP geht nicht mit Apache2 Server, Hosting und Workstations 22 29.06.2005 22:23
PHP 5 installation PHP Tipps 2005-2 6 16.06.2005 14:19
Perl Problem mit Debian & Apache2 c01001 Server, Hosting und Workstations 9 03.12.2004 15:27
Probleme mit Apache2 und PHP5 nach Update von PHP4 Server, Hosting und Workstations 9 28.10.2004 16:01
Ums Verrecken PHP 4.3.8 und Apache2 Server, Hosting und Workstations 2 20.09.2004 21:27
Apache2 and PHP, react on suffix "php.htm" Server, Hosting und Workstations 3 23.06.2004 14:58

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
opensuse php, opensuse 11.3 php version, php opensuse, opensuse 11.3 php, suse 11.3 php problem, kommandozeile windows, opensuse php installieren, suse php starten, open suse php, opensuse php apache, php5 opensuse 12, suse 11.3 php, opensuse 11.3 apache php einrichten, apache2 kein php, suse apache fehlermeldungen datei, module php5_module is already loaded skipping, phppgadmin apache2 einrichten, suse php apache 11.3, apache phpinfo leer, kein php opensuse

Alle Zeitangaben in WEZ +2. Es ist jetzt 22:05 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum