Current time: 05-06-2024, 03:26 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Nach installation kein PHP
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: Nach installation kein PHP
Denke ich mir auch, aber ich habe das Demo selber vor 2 Tagen frisch installiert...Und es gab keinen Fehler Rolleyes

Greez BeNe
11-06-2007 03:25 AM
Visit this user's website Find all posts by this user
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #12
RE: Nach installation kein PHP
@gOOvER:

Ja,

Quote:deb http://mir1.ovh.net/debian/ etch main
deb-src http://mir1.ovh.net/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://ftp.de.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://dotdeb.pimpmylinux.org/ oldstable all
(This post was last modified: 11-06-2007 03:41 AM by MoritzDorn.)
11-06-2007 03:33 AM
Visit this user's website Find all posts by this user
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #13
RE: Nach installation kein PHP
joximu Wrote:dpkg -l | grep fast

poste hier mal die Ausgabe...

/J

ii rsync 2.6.9-2etch1 fast remote file copy program (like rcp)
11-06-2007 03:39 AM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #14
RE: Nach installation kein PHP
Das hast du kein libapache2-mod-fastcgi am laufen:
Code:
dpkg -l | grep fast
ii  dspam                      3.6.8-5                             is a scalable, fast and statistical anti-spa
ii  flex                       2.5.33-11                           A fast lexical analyzer generator.
ii  libapache2-mod-fastcgi     2.4.2-8                             Apache 2 FastCGI module for long-running CGI
ii  rsync                      2.6.9-2etch1                        fast remote file copy program (like rcp)

Was passiert denn wenn Du Schritt drei wiederholst ?

Hier mal meine sources.list
Code:
#### E T C H ###############################################
deb http://ftp.de.debian.org/debian-volatile/ etch/volatile main contrib non-free

deb     http://ftp.de.debian.org/debian etch main contrib non-free
deb-src http://ftp.de.debian.org/debian etch main contrib non-free

deb     http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

Greez BeNe
11-06-2007 03:47 AM
Visit this user's website Find all posts by this user
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #15
RE: Nach installation kein PHP
Quote:root@xxxxx:~# dpkg -l | grep fast
ii libapache2-mod-fastcgi
2.4.2-8
Apache 2 FastCGI module for long-running CGI
ii rsync
2.6.9-2etch1
fast remote file copy program (like rcp)

Bei Schritt 3 macht er mitlerweile alles, er zeigt keinen fehler an und es wird auch ncihts dazu installiert.

Die .php Dateien will er immer noch als Download senden.
11-06-2007 04:02 AM
Visit this user's website Find all posts by this user
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #16
RE: Nach installation kein PHP
Also mod-fcgi wurde dann jetzt installiert. Ich möchte dann mal auf Raphael verweisen, der im englischen Forum was zu dem Fehler geschrieben hat.

raphael Wrote:If you didn't have fastcgi installed at setup time (ispcp-setup) you might need to hack around the config files.
This is because ispcp-setup takes the original fastcgi.load and creates a copy called fastcgi_ispcp.conf (adding an <IfModule...) and then disables fastcgi and enables fastcgi_ispcp

Du solltest jetzt noch die entsprechenden Dateien per Hand ändern.
11-06-2007 04:11 AM
Visit this user's website Find all posts by this user
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #17
RE: Nach installation kein PHP
Und welche Dateien sind das?

Sind es die in /etc/apache2/mods-available/fastcgi_ispcp.conf oder /etc/apache2/mods-available/fastcgi.conf

und was muss da genau rein? die sind schon recht voll.
(This post was last modified: 11-06-2007 04:46 AM by MoritzDorn.)
11-06-2007 04:37 AM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #18
RE: Nach installation kein PHP
fastcgi.conf
Code:
# ISPCP Ï~I (OMEGA) a Virtual Hosting Control System
# Copyright (c) 2006-2007 by ispCP | http://isp-control.net
#
#
# License:
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of the GPL General Public License
#    as published by the Free Software Foundation; either version 2.0
#    of the License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GPL General Public License for more details.
#
#    You may have received a copy of the GPL General Public License
#    along with this program.
#
#    An on-line copy of the GPL General Public License can be found
#    http://www.fsf.org/licensing/licenses/gpl.txt
#
########################################################################
#
# @TODO :
# - Finish config Fastcgi

<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2
        FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100
                      #-killInterval 300 \
                      #-autoUpdate \
                      #-idle-timeout 240 \
                      #-pass-header HTTP_AUTHORIZATION

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5

        <Location /php5/php5-fcgi-starter>
            SetHandler fastcgi-script
            Options +ExecCGI
        </Location>

        Action php-fastcgi /php5/php5-fcgi-starter
        AddType application/x-httpd-php .php .php5
</IfModule>
fastcgi.load
Code:
<IfModule !mod_fastcgi.c>
LoadModule fas

Greez BeNe
11-06-2007 05:21 AM
Visit this user's website Find all posts by this user
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #19
RE: Nach installation kein PHP
Ich habe alles so gemacht, wie ihre gesagt habt, jetzt dauert es ein wenig länger, wenn ich meine Seite aufrufen will, und dann kommt

Quote:Error 500!

/admin/
Internal Server Error!

Ich überlege, den Server nochmal komplett neu installieren zu lassen (Debian Etch) und dann nochmal nach der Anleitung vorgehe.
Hierbei stört mich nur eins, dass nicht die Pakete angegeben sind, die man mit installieren muss.

http://www.isp-control.net/ispcp/wiki/us...ion/Debian
11-06-2007 05:32 AM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #20
RE: Nach installation kein PHP
Das wird jetzt sicher an den rechten liegen!
Quote:Ich überlege, den Server nochmal komplett neu installieren zu lassen (Debian Etch) und dann nochmal nach der Anleitung vorgehe.
Wird das beste sein...wer weis was sonst noch alles kommt.
Quote:Hierbei stört mich nur eins, dass nicht die Pakete angegeben sind, die man mit installieren muss.
Schau mal in die Datei (debian-packages-etch) direkt mit einem Editor rein Wink
Weis zwar nicht für was du das wissen willst, aber da wirst du sicher fündig.

Greez BeNe
11-06-2007 05:36 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)