Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Also sieht die ".htaccess" nunmehr so aus:
---
############################################
## uncomment these lines for CGI mode
## make sure to specify the correct cgi php binary file name
## it might be /cgi-bin/php-cgi
Action php5-cgi /cgi-bin/php5-cgi
AddHandler php5-cgi .php
php_flag cgi.fix_pathinfo on
---
Die Einstellungen des virtuellen Hosts habe ich beibehalten:
---
<Directory /var/www/web999/cgi-bin/>
Options ExecCGI
AllowOverride None
</Directory>
<Directory /var/www/web999/web/>
AllowOverride All
</Directory>
---
Der nun auftretende Fehler:
---
[Tue Apr 08 23:13:18 2008] [error] [client 91.67.131.58] File does not exist: /var/www/web999/cgi-bin/php5-cgi/index.php
[Tue Apr 08 23:13:20 2008] [error] [client 91.67.131.58] File does not exist: /var/www/web999/cgi-bin/php5-cgi/index.php
---
---
############################################
## uncomment these lines for CGI mode
## make sure to specify the correct cgi php binary file name
## it might be /cgi-bin/php-cgi
Action php5-cgi /cgi-bin/php5-cgi
AddHandler php5-cgi .php
php_flag cgi.fix_pathinfo on
---
Die Einstellungen des virtuellen Hosts habe ich beibehalten:
---
<Directory /var/www/web999/cgi-bin/>
Options ExecCGI
AllowOverride None
</Directory>
<Directory /var/www/web999/web/>
AllowOverride All
</Directory>
---
Der nun auftretende Fehler:
---
[Tue Apr 08 23:13:18 2008] [error] [client 91.67.131.58] File does not exist: /var/www/web999/cgi-bin/php5-cgi/index.php
[Tue Apr 08 23:13:20 2008] [error] [client 91.67.131.58] File does not exist: /var/www/web999/cgi-bin/php5-cgi/index.php
---
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Überprüfe mal Deine PHP-Konfiguration, die ist etwas suboptimal, siehe Dokumentation...
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: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Und das Weglassen der Direktiven, sollte ich das noch einmal probieren?
(
<Directory /var/www/web999/cgi-bin/>
Options ExecCGI
AllowOverride None
</Directory>
<Directory /var/www/web999/web/>
AllowOverride All
</Directory>
)
Außerdem: die PHP-Einstellungen können es nicht sein, weil ich PHP seitens ISPConfig abgeschaltet habe. Macht ja keinen Sinn, mit PHP 5.1.2 zu arbeiten und parallel mit der cgi-php-variante 5.2.0
(
<Directory /var/www/web999/cgi-bin/>
Options ExecCGI
AllowOverride None
</Directory>
<Directory /var/www/web999/web/>
AllowOverride All
</Directory>
)
Außerdem: die PHP-Einstellungen können es nicht sein, weil ich PHP seitens ISPConfig abgeschaltet habe. Macht ja keinen Sinn, mit PHP 5.1.2 zu arbeiten und parallel mit der cgi-php-variante 5.2.0
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Kannst Du, ist aber für Dein Problem unerheblich.hahni wrote:Und das Weglassen der Direktiven, sollte ich das noch einmal probieren?
Für Dein aktuelles Problem ebenfalls unwichtig.hahni wrote:Außerdem: die PHP-Einstellungen können es nicht sein, weil ich PHP seitens ISPConfig abgeschaltet habe.
Auch PHP-(F)CGI muss sinnvoll kompiliert und konfiguriert werden, mindestens eines ist bei Dir nicht der Fall.hahni wrote:Macht ja keinen Sinn, mit PHP 5.1.2 zu arbeiten und parallel mit der cgi-php-variante 5.2.0
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: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Vielen Dank für deine einstweiligen Bemühungen!
Selbstverständlich habe ich nicht irgendeine cgi-php version genommen sondern die, die von Magento zum Download angeboten wird!
Zwar bezieht sich das Howto auf PHP4, aber ich habe nunmal PHP 5.1.2 und kann mir nicht vorstellen, dass das Binary in der Konstellation nicht funktionieren sollte.
Übrigens: beim Rest bin ich gemäß Anleitung vorgegangen:
http://www.magentocommerce.com/knowledg ... hp4-server
Selbstverständlich habe ich nicht irgendeine cgi-php version genommen sondern die, die von Magento zum Download angeboten wird!
Zwar bezieht sich das Howto auf PHP4, aber ich habe nunmal PHP 5.1.2 und kann mir nicht vorstellen, dass das Binary in der Konstellation nicht funktionieren sollte.
Übrigens: beim Rest bin ich gemäß Anleitung vorgegangen:
http://www.magentocommerce.com/knowledg ... hp4-server
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Hast du die binarys mal aus der shell heraus getestet???
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
du meinst, einfach einmal aufrufen, um sicherzustellen, dass es beim upload nicht beschädigt wurde?
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
upload? rechte richtig?
Einfach mal nen einfaches php script mit der cgi binary laufen lassen...
Einfach mal nen einfaches php script mit der cgi binary laufen lassen...
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
das probiere ich nachher gleich mal aus! Die berechtigungen stimmen. ich bin strikt nach der anleitung von magento vorgegangen! genau um solche gründe auszuschließen! :(
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Wenn ich das Binary auf der Shell ausführe, kommt ein Segmentation Fault. Nun führe ich das mal darauf zurück, dass das CGI einige Parameter erwartet, die es nur in einer Apache-Umgebung hat und deswegen nicht funktioniert?
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
Segmentation Fault = Hardware defekt (speicher) oder ungeeignete binaries. Ich tippe eher auf zweiteres ;)
Keine Ahnung was das da für ein gefrickel ist, besorg dir die richtigen binaries oder kompiliere php selber.
Keine Ahnung was das da für ein gefrickel ist, besorg dir die richtigen binaries oder kompiliere php selber.
Re: Magento als php-cgi auf ISPConfig-System (htaccess-Probleme)
ein zuverlässiges update von 5.1.2 auf 5.2.0 oder höher für ubuntu 6.06 lts würde mich auch zufriedenstellen. scheint aber leider nicht möglich zu sein?
