Current time: 09-29-2024, 03:30 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] FastCGI PHP_STARTER_DIR
Author Message
nyp Offline


Posts: 2
Joined: Jan 2008
Reputation: 0
Post: #1
[ERLEDIGT] FastCGI PHP_STARTER_DIR
Hallo liebe Leute!

Debian Etch 32Bit

Ich habe ein Problem mit FastCGI seit dem Update von PHP auf 5.2.2.
php5-cgi läuft, allerdings, wenn ich fastcgi aktiviere mit a2enmod fastcgi und den Apache neu starte, kriege ich folgende Meldung:
Code:
# a2enmod fastcgi
Module fastcgi installed; run /etc/init.d/apache2 force-reload to enable.
# /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)... waiting Syntax error on line 37 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiServer: "/etc/apache2/{PHP_STARTER_DIR}/master/php4-fcgi-starter" stat(/etc/apache2/{PHP_STARTER_DIR}/master/php4-fcgi-starter) failed: No such file or directory
failed!

PHP_STARTER_DIR ist aber definiert in /etc/ispcp/ispcp.conf.
Offenbar wird der Wert nicht gelesen.
Ohne FastCGI, sprich php5-cgi, läuft ohne größere Probleme. Obwohl es auch hier Warnings gibt:
Code:
# php5 -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mssql.so' - /usr/lib/php5/20060613+lfs/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo_dblib.so' - /usr/lib/php5/20060613+lfs/pdo_dblib.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/sybase_ct.so' - /usr/lib/php5/20060613+lfs/sybase_ct.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.5-0.dotdeb.2 with Suhosin-Patch 0.9.6.2 (cli) (built: Dec 10 2007 08:44:45)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with Suhosin v0.9.22, Copyright (c) 2007, by SektionEins GmbH

Die Warnings sind mir erstmal nicht wichtig, viel interessanter wäre es zu wissen, woran es bei FastCGI hakt.

Ich hoffe ihr könnt mir helfen.
(This post was last modified: 01-31-2008 05:02 PM by BeNe.)
01-29-2008 05:04 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: FastCGI PHP_STARTER_DIR
Hallo nyp

ispCP hat ein eigenes Modul für fastcgi:
a2enmod fastcgi_ispcp
und den originalen bitte disablen...

Damit sollte es besser gehen

Gruss Joximu
01-29-2008 05:32 AM
Visit this user's website Find all posts by this user
nyp Offline


Posts: 2
Joined: Jan 2008
Reputation: 0
Post: #3
RE: FastCGI PHP_STARTER_DIR
Danke für die schnelle Antwort, Apache lässt sich nun starten. Allerdings sind die gestarteten Prozesse immer noch php5-cgi statt wie früher php5-fcgi, oder bilde ich mir das nur ein?
In php5-fcgi-starter steht allerdings auch php5-cgi und die habe ich schon lange nicht mehr angefasst.
01-29-2008 06:21 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: FastCGI PHP_STARTER_DIR
das ist schon richtig...
das "fast" ist ja nur die Schnittstelle - es wird auf jeden fall die CGI Version von PHP gestartet.

Gruss J
01-29-2008 08:40 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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