Hallo an alle,
ich habe es geschaft den Lighttd als Webserver zu installieren.
Wenn ich den Webserver starte dann kann ich auch html Seiten sehen. Nur funktioniert leider php noch nicht obwohl ich auch php4-fastcgi mittels yast installiert habe.
Ich habe auch in die php.ini folgendes eingefügt cgi.fix_pathinfo = 1 .
Ich habe leider keine Idee warum es nicht geht.
Wenn ich php -v ausführe bekomme ich folgendes angezeigt:
PHP 4.4.0 (cli) (built: Sep 1 2006 15:20:08)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
Eigentlich müsste da etwas von fastcgi stehen anstatt cli, wenn ich die Anleitung Lighttpd richtig intepretiere.
Wenn ich rpm -ql php4-fastcgi ausführe bekomme folgendes angezeigt:
/srv/www/cgi-bin/php
Ich hoffe jemand von euch kann mir dabei helfen.
Danke euch
ciao
Beste Grüße
Lukas
SuSE + Lighttpd + PHP Probleme
-
eru der eine
- Posts: 25
- Joined: 2005-10-24 11:41
Re: SuSE + Lighttpd + PHP Probleme
Naja, dass du bei php -v die "normale" Version angezeigt bekommst, ist logisch, da /srv/www/cgi-bin/php normalerweise nicht im $PATH ist.
Verwendest du sicher das richtige Binary in deiner Config?
Was sagt das Error-Log?
Nach welcher Anleitung bist du vorgegangen?
Speziell zu SuSE kann ich leider nichts sagen (ich weiß nicht einmal, ob das mit php4-fastcgi überhaupt funktioniert)
Verwendest du sicher das richtige Binary in deiner Config?
Was sagt das Error-Log?
Nach welcher Anleitung bist du vorgegangen?
Speziell zu SuSE kann ich leider nichts sagen (ich weiß nicht einmal, ob das mit php4-fastcgi überhaupt funktioniert)
Lighty
Nach Anleitung von http://trac.lighttpd.net/trac/wiki/Tuto ... ttpdAndPHP
ich habe allerdings die Packete als RPM bei
http://software.opensuse.org/download/s ... 10.0/i586/
heruntergeladen.
ich habe allerdings die Packete als RPM bei
http://software.opensuse.org/download/s ... 10.0/i586/
heruntergeladen.
Re: SuSE + Lighttpd + PHP Probleme
Code: Select all
ls -alh /{usr/bin,srv/www/cgi-bin}/php*PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: SuSE + Lighttpd + PHP Probleme
wenn ich dein Befehl eingebe ls -alh /{usr/bin,srv/www/cgi-bin}/php* bekomme ich folgendes raus:
-rwxr-xr-x 1 root root 1.4M Sep 13 2005 /srv/www/cgi-bin/php
-rwxr-xr-x 1 root root 1.4M Sep 1 17:38 /usr/bin/php
-rwxr-xr-x 1 root root 623 Sep 13 2005 /usr/bin/php-config
-rwxr-xr-x 1 root root 1.5M Sep 1 17:10 /usr/bin/php5
-rwxr-xr-x 1 root root 3.9K Sep 13 2005 /usr/bin/phpize
ob mod_fastcgi richtig konfiguriert ist weiss ich nicht?
Wie mache ich das denn richtig ?
-rwxr-xr-x 1 root root 1.4M Sep 13 2005 /srv/www/cgi-bin/php
-rwxr-xr-x 1 root root 1.4M Sep 1 17:38 /usr/bin/php
-rwxr-xr-x 1 root root 623 Sep 13 2005 /usr/bin/php-config
-rwxr-xr-x 1 root root 1.5M Sep 1 17:10 /usr/bin/php5
-rwxr-xr-x 1 root root 3.9K Sep 13 2005 /usr/bin/phpize
ob mod_fastcgi richtig konfiguriert ist weiss ich nicht?
Wie mache ich das denn richtig ?
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: SuSE + Lighttpd + PHP Probleme
Das ist das richtige Binary.slkzone wrote:wenn ich dein Befehl eingebe ls -alh /{usr/bin,srv/www/cgi-bin}/php* bekomme ich folgendes raus:
-rwxr-xr-x 1 root root 1.4M Sep 13 2005 /srv/www/cgi-bin/php
http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGIslkzone wrote:ob mod_fastcgi richtig konfiguriert ist weiss ich nicht?
Wie mache ich das denn richtig ?
