Re: Apache 2.2 und php4
Am 06.11.06 schrieb Aleksandar Lazic <[EMAIL PROTECTED]>: Hi, On Son 05.11.2006 19:41, Vladislav Vorobiev wrote: >Hallo, > >ich habe schon mehrmals apache und php eingerichtet allerdings verstehe >ich zur Zeit nicht warum es nicht interpretiert wird. Hast du es schon mal mit der *orignal* doku versucht?! http://www.php.net/manual/en/install.unix.apache2.php Ja das ist das gleiche. >hier ein Bsp: http://forum2.mymir.de/ > >(in diesem verzeichniss ist auch die php.ini zusaetzlich >http://forum2.mymir.de/php.ini) Weiss das dein PHP?! >bin/httpd -l >Compiled in modules: [Viele module gesnipped, brauchst du die wirklich alle?] Ich verwende Cache, Loadbalancing, Rewrite, Proxy ich denke z.B mod_expires.c mod_headers.c ja fuer das Cache module dienen. > worker.c Auf der orig Seite steht was von: --- We do not recommend using a threaded MPM in production with Apache2. Use the prefork MPM instead, or use Apache1. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM --- Is aber vermutlich nicht dein Problem, wird nur nicth empfohlen. Was meint das error log zu deinem Problem?! Was bekommst du fuer einen content-type zurueck vom apache? Ok, es geht auf einmal http://forum2.mymir.de/index.php http://forum.mymir.de ist ein phpbb forum, brauche ich aber nicht. Vielen Dank fuer die unterstuetzung hier der error log. [Mon Nov 06 01:18:01 2006] [notice] Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8c PHP/4.4.4 configured -- resuming normal operations [Mon Nov 06 01:38:20 2006] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:9673 (*) failed [Mon Nov 06 01:38:21 2006] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:9673 (*) failed [Mon Nov 06 03:27:04 2006] [error] [client 66.249.65.113] File does not exist: /var/www/phpbb/rusweb/robots.txt [Mon Nov 06 03:27:04 2006] [error] [client 66.249.65.113] PHP Warning: main(./config.php) [function.main]: failed to ope [Mon Nov 06 03:27:04 2006] [error] [client 66.249.65.113] PHP Warning: main() [function.include]: Failed opening './c [Mon Nov 06 03:27:04 2006] [error] [client 66.249.65.113] File does not exist: /var/www/phpbb/rusweb/install -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: Am 05.11.06 schrieb Rainer Sokoll <[EMAIL PROTECTED]>: Joerg Behrens wrote: > Vladislav Vorobiev schrieb: >> Das habe ich auch: >> >> >> AddHandler php4-script php >> AddType application/x-httpd-php .php .phtml .php3 >> AddType application/x-httpd-php-source .phps >> > > > Entferne mal bitte den AddHandler und Teste dann noch einmal. > > Auszug aus meiner *.conf > > > AddType application/x-httpd-php .php .php3 .php4 .php5 > AddType application/x-httpd-php-source .phps > > > > AddType application/x-httpd-php .php .php3 .php4 > AddType application/x-httpd-php-source .phps > > > Wobei ich das PHP5 Modul verwende. Das ganze IfModule-Geraffel ist doch völlig überflüssig... Rainer Ok ich habe das if weg gemacht. Jetzt will er runterladen. Interpretieren möchte der trotzdem nicht lock hier http://forum.mymir.de/ jemand eine Idei? Wie sieht denn eigentlich deine mime.types aus? Ist da eine Zeile ala "application/x-httpd-php php" drin? Grüß Vlad -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] -- -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Hi, On Son 05.11.2006 19:41, Vladislav Vorobiev wrote: Hallo, ich habe schon mehrmals apache und php eingerichtet allerdings verstehe ich zur Zeit nicht warum es nicht interpretiert wird. Hast du es schon mal mit der *orignal* doku versucht?! http://www.php.net/manual/en/install.unix.apache2.php hier ein Bsp: http://forum2.mymir.de/ (in diesem verzeichniss ist auch die php.ini zusaetzlich http://forum2.mymir.de/php.ini) Weiss das dein PHP?! bin/httpd -l Compiled in modules: [Viele module gesnipped, brauchst du die wirklich alle?] worker.c Auf der orig Seite steht was von: --- We do not recommend using a threaded MPM in production with Apache2. Use the prefork MPM instead, or use Apache1. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM --- Is aber vermutlich nicht dein Problem, wird nur nicth empfohlen. Was meint das error log zu deinem Problem?! Was bekommst du fuer einen content-type zurueck vom apache? LG Aleks -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Am 06.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: > Am 06.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: >> Vladislav Vorobiev schrieb: >> >> > sieht so aus: >> > >> > AddHandler php4-script php >> ^^ >> Loesch das bitte einmal >> >> > AddType application/x-httpd-php .php .phtml .php3 .php4 >> > AddType application/x-httpd-php-source .phps > > > Hilft nicht, das gleiche http://forum.mymir.de/docs/#install > http://forum.mymir.de/ Und nun noch den AddType mit nur *einer* Extension AddType application/x-httpd-php .php Nein hilft leider auch nicht -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: Am 06.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: > sieht so aus: > > AddHandler php4-script php ^^ Loesch das bitte einmal > AddType application/x-httpd-php .php .phtml .php3 .php4 > AddType application/x-httpd-php-source .phps Hilft nicht, das gleiche http://forum.mymir.de/docs/#install http://forum.mymir.de/ Und nun noch den AddType mit nur *einer* Extension AddType application/x-httpd-php .php Gruss Joerg -- TakeNet GmbHhttp://www.takenet.de 97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025 -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Am 06.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: > sieht so aus: > > AddHandler php4-script php ^^ Loesch das bitte einmal > AddType application/x-httpd-php .php .phtml .php3 .php4 > AddType application/x-httpd-php-source .phps Hilft nicht, das gleiche http://forum.mymir.de/docs/#install http://forum.mymir.de/ -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: sieht so aus: AddHandler php4-script php ^^ Loesch das bitte einmal AddType application/x-httpd-php .php .phtml .php3 .php4 AddType application/x-httpd-php-source .phps Gruss Joerg -- TakeNet GmbHhttp://www.takenet.de 97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025 -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Am 06.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: [..] >> > >> > AddType application/x-httpd-php .php .php3 .php4 >> > AddType application/x-httpd-php-source .phps >> > >> > >> > Wobei ich das PHP5 Modul verwende. >> >> Das ganze IfModule-Geraffel ist doch völlig überflüssig... >> >> Rainer > > Ok ich habe das if weg gemacht. Jetzt will er runterladen. > Interpretieren möchte der trotzdem nicht Mach mal nur eine Endung hinten dran. AddType application/x-httpd-php .php Hallo Joerg, sieht so aus: AddHandler php4-script php AddType application/x-httpd-php .php .phtml .php3 .php4 AddType application/x-httpd-php-source .phps -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: [..] > > AddType application/x-httpd-php .php .php3 .php4 > AddType application/x-httpd-php-source .phps > > > Wobei ich das PHP5 Modul verwende. Das ganze IfModule-Geraffel ist doch völlig überflüssig... Rainer Ok ich habe das if weg gemacht. Jetzt will er runterladen. Interpretieren möchte der trotzdem nicht Mach mal nur eine Endung hinten dran. AddType application/x-httpd-php .php Gruss Joerg -- TakeNet GmbHhttp://www.takenet.de 97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025 -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Am 05.11.06 schrieb Rainer Sokoll <[EMAIL PROTECTED]>: Joerg Behrens wrote: > Vladislav Vorobiev schrieb: >> Das habe ich auch: >> >> >> AddHandler php4-script php >> AddType application/x-httpd-php .php .phtml .php3 >> AddType application/x-httpd-php-source .phps >> > > > Entferne mal bitte den AddHandler und Teste dann noch einmal. > > Auszug aus meiner *.conf > > > AddType application/x-httpd-php .php .php3 .php4 .php5 > AddType application/x-httpd-php-source .phps > > > > AddType application/x-httpd-php .php .php3 .php4 > AddType application/x-httpd-php-source .phps > > > Wobei ich das PHP5 Modul verwende. Das ganze IfModule-Geraffel ist doch völlig überflüssig... Rainer Ok ich habe das if weg gemacht. Jetzt will er runterladen. Interpretieren möchte der trotzdem nicht lock hier http://forum.mymir.de/ jemand eine Idei? Grüß Vlad -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Joerg Behrens wrote: > Vladislav Vorobiev schrieb: >> Das habe ich auch: >> >> >> AddHandler php4-script php >> AddType application/x-httpd-php .php .phtml .php3 >> AddType application/x-httpd-php-source .phps >> > > > Entferne mal bitte den AddHandler und Teste dann noch einmal. > > Auszug aus meiner *.conf > > > AddType application/x-httpd-php .php .php3 .php4 .php5 > AddType application/x-httpd-php-source .phps > > > > AddType application/x-httpd-php .php .php3 .php4 > AddType application/x-httpd-php-source .phps > > > Wobei ich das PHP5 Modul verwende. Das ganze IfModule-Geraffel ist doch völlig überflüssig... Rainer -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: Am 05.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: > Hallo, > > ich habe schon mehrmals apache und php eingerichtet allerdings > verstehe ich zur Zeit nicht warum es nicht interpretiert wird. Also bei Apache 1.x und 2.0.x muss mach auch noch die AddTypes angeben. Das habe ich auch: AddHandler php4-script php AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps Entferne mal bitte den AddHandler und Teste dann noch einmal. Auszug aus meiner *.conf AddType application/x-httpd-php .php .php3 .php4 .php5 AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php .php3 .php4 AddType application/x-httpd-php-source .phps Wobei ich das PHP5 Modul verwende. Gruss Joerg -- TakeNet GmbHhttp://www.takenet.de 97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025 -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Am 05.11.06 schrieb Joerg Behrens <[EMAIL PROTECTED]>: Vladislav Vorobiev schrieb: > Hallo, > > ich habe schon mehrmals apache und php eingerichtet allerdings > verstehe ich zur Zeit nicht warum es nicht interpretiert wird. Also bei Apache 1.x und 2.0.x muss mach auch noch die AddTypes angeben. Das habe ich auch: AddHandler php4-script php AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 2.2 und php4
Vladislav Vorobiev schrieb: Hallo, ich habe schon mehrmals apache und php eingerichtet allerdings verstehe ich zur Zeit nicht warum es nicht interpretiert wird. Also bei Apache 1.x und 2.0.x muss mach auch noch die AddTypes angeben. Gruss Joerg -- TakeNet GmbHhttp://www.takenet.de 97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025 -- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
