ispCP - Board - Support
php4 wird benötigt - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: php4 wird benötigt (/thread-2882.html)



php4 wird benötigt - chrischnian - 03-29-2008 08:45 AM

Auf meinen VServer kann man per Knopfdruch Debian4.0 mit ISPCP installieren.

Nachdem der Vserver das gemacht hatte habe ich Debian auf den aktuellen Stand gebracht wobei er auch php5 und php4 aktualisiert hat.

Das ISPCP was installiert ist ist laut der unteren Ecke folgende VErsion:
ispCP 1.0rc2 OMEGA
build: 2007-04-18
Priamos

So nun zu meinen Problem. Ich habe davor das Forum schon durchsucht aber leider nimmt er immer wieder die PHP5 Version (PHP Version 5.2.0-8+etch10)

Laut dem Thread http://www.isp-control.net/forum/mal-wieder-php4php5-t-2839.html könnte man es dort erreichen das der Parser alle Dateien mit php4 mit php4 parst alles andere mit php5. Genau das möchte ich auch da ich nur 1 Skript habe das mit php4 geparst werden müsste.

Leider habe ich keine "/etc/apache2/mods-enabled/fastcgi_ispcp.conf"

könntet ihr mir bitte helfen?


RE: php4 wird benötigt - FeG - 03-29-2008 08:48 AM

Hi,

chrischnian Wrote:Leider habe ich keine "/etc/apache2/mods-enabled/fastcgi_ispcp.conf"

Wenn ich mich recht entsinne hieß die Datei unter RC2 noch .../mods-enabled/fastcgi.conf.

Quote:Auf meinen VServer kann man per Knopfdruch Debian4.0 mit ISPCP installieren.

Da würde mich doch einfach mal spontan interessieren, was das für ein VServer ist Smile

Gruß
FeG


RE: php4 wird benötigt - chrischnian - 03-29-2008 08:54 AM

Also das wäre der Hoster!!

http://www.sunny-host.de/vserver-linux.html

Ist der VServer Linux StartUp+

Danke werde es gleich mal testen!!


RE: php4 wird benötigt - joximu - 03-29-2008 08:55 AM

Scheint bei einem Provider zu sein, der das mal so eingerichtet hat - aber die RC2 ist mitlerweile schon als sehr alt zu bezeichnen.


RE: php4 wird benötigt - chrischnian - 03-29-2008 08:58 AM

Shit dies steht in der Datei schon drin: Also dürfte es gar nicht php5 ausführen.

Das ist in der Datei
Code:
<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/php4-fcgi-starter -user vu2000 -group vu2000

#
# PHP4 SUPPORT
#

AddHandler php-fastcgi .php

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

Action php-fastcgi /php4/php4-fcgi-starter
AddType application/x-httpd-php .php

#
# PHP5 SUPPORT
#

#AddHandler php5-fastcgi .php5

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

#Action php5-fastcgi /php5/php5-fcgi-starter
</IfModule>

Da muss sich was überschneiden weil er es dennoch macht??[/code]


RE: php4 wird benötigt - joximu - 03-29-2008 09:00 AM

was steht in /var/www/fcgi/master/php4-fcgi-starter ?
Bzw. in den /var/www/fcgi/<domain>/php4-fcgi-starter


RE: php4 wird benötigt - chrischnian - 03-29-2008 09:05 AM

master/php4-fcgi-starter
Quote:#!/bin/sh

PHPRC="/var/www/fcgi/master/php4/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php4-cgi
domain/php4-fcgi-starter
[/quote]
#!/bin/sh

PHPRC="/var/www/fcgi/domain/php4/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php4-cgi[/quote]
master/php5-fcgi-starter
[/quote]#!/bin/sh

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi
[/quote]
domain/php5-fcgi-starter
[/quote]#!/bin/sh

PHPRC="/var/www/fcgi/domain/php5/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi
[/quote]
Meint ihr das Problem könnte ich schon mit einen Update lösen?[/quote]


RE: php4 wird benötigt - FeG - 03-29-2008 09:07 AM

Hi,

Die Dateien sind auf jeden Fall in Ordnung.

chrischnian Wrote:Meint ihr das Problem könnte ich schon mit einen Update lösen?

Da du ja wahrscheinlich nicht viel geändert hast seit der frischen Installation kann ja sowieso nicht viel schiefgehen. Also probier's aus, du solltest sowieso auf einen neueren RC updaten.

Gruß
FeG

PS: Und achte mal ein bisschen auf die schließenden Tags in deinen Postings Wink


RE: php4 wird benötigt - chrischnian - 03-29-2008 09:22 AM

Shit nun habe ich das Ding zerschossen!!

Habe mich nach der Anleitung gehalten und bei diesen Punkt brach er ab!!

Quote:perl ispcp-update


Welcome to ispCP '1.0.0 RC4 OMEGA' Update Dialog.
This program will update your VHCS / ispCP OMEGA system on your server.
Please make sure you have a backup of your server data.

NOTE: During the migration process some or all services might require to be
shut down or restarted.

Please select from which version you want to update:
(1) VHCS 2.4.7 or VHCS 2.4.7.1
(2) VHCS 2.4.8 RC1
(3) ispCP OMEGA 1.0.0 RC2 (incl. b and c)
(4) ispCP OMEAG 1.0.0 RC3
(0) abort
Your selection: 3
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
Stopping ispCP Network Traffic Logger: ispcp_network
* ispcp_network is already stopped
.
Upgrading system values ...
Use which PHP Version? (4 or 5). [5]: 5

Activate AWStats. [no]: no

Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]: n
done
Upgrading database structure...done
Rebuilding system configurations... Config Rebuild failed.
[/quote]