You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Michelle Konzack <li...@freenet.de> on 2007/02/13 19:36:03 UTC
suphp, php-cgi und apache
Hallo Leute,
Habe vor 3 Wochen einen neuen IntraNet-Server mit courier, apache und
php5 und nun habe ich wieder das problem mit dem suphp.
Der Rechner hat derzeit rund 180 $USER wobei jeder einen VHost mit
seinem login hat und nur normales PHP verwendet werden kann (kein CGI).
Der DEFAULT Server ist gleichzeitig der IntranetServer der allerdings
nur aus einer EINEN EINZIGEN physikalischen Seite besteht: /index.php
Nun habe ich das problem, das ich "suphp" verwenden muß (sonst kann
ich ja nicht auf die Verzeichnise der $USER rw zugreifen) und will das
die /index.php als CGI ausgeführt wird...
Geht irgendwie nicht...
Wenn sie aber in /cgi-bin/index.php ligt gehts aber dann funktioniert 90%
der Webseite nicht mehr...
Ich will das Intranet definitiv mit <http://server/> aufrufen.
Frage: Wo muß isch was drehen, damit ich /index.php als CGI mit
suphp verwenden kann.
<Datei /index.php> und ein AddHandler funktioniert nicht
Ich verwende: Debian GNU/Linux 4.0
Apache 1.3 (2.0 example ist aber auch willkommen)
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Re: suphp, php-cgi und apache
Posted by Michelle Konzack <li...@freenet.de>.
Hallo James,
Am 2007-02-22 09:49:43, schrieb James Blond:
> Hallo Michelle,
>
> >Anm: Ich habe Performance-Probleme mit apache2, sprich,
> > er ist ewig und drei Tage langsam.
>
> welche Version von Apache 2 hast Du denn genutzt?
> Ich habe auf fedora core und auf redhat (sind ja beide ziemlich
> ähnlich) Apache 2.2.3 und PHP 5.2.0 auf gesetzt und hatte keine
> Probleme mit der Performance.
> Bleibt die Frage, welches MPM Du denn genommen hast beim complieren.
Debian GNU/Linux 4.0 Etch:
[michelle.konzack@samba3.private:~/] apt-cache policy apache2 php5
apache2:
Installed: (none)
Candidate: 2.0.55-4.1
Version table:
2.0.55-4.1 0
500 file: etch/main Packages
php5:
Installed: 5.1.4-0.1
Candidate: 5.1.4-0.1
Version table:
*** 5.1.4-0.1 0
500 file: etch/main Packages
100 /var/lib/dpkg/status
Bin jetzt wieder auf den alten zurückgegangen und der rennt:
[michelle.konzack@samba3.private:~/] apt-cache policy apache
apache:
Installed: 1.3.34-4
Candidate: 1.3.34-4
Version table:
*** 1.3.34-4 0
500 file: etch/main Packages
100 /var/lib/dpkg/status
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Re: suphp, php-cgi und apache
Posted by James Blond <jb...@gmail.com>.
Hallo Michelle,
> Anm: Ich habe Performance-Probleme mit apache2, sprich,
> er ist ewig und drei Tage langsam.
welche Version von Apache 2 hast Du denn genutzt?
Ich habe auf fedora core und auf redhat (sind ja beide ziemlich
ähnlich) Apache 2.2.3 und PHP 5.2.0 auf gesetzt und hatte keine
Probleme mit der Performance.
Bleibt die Frage, welches MPM Du denn genommen hast beim complieren.
Gruß
Mario
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------
Re: suphp, php-cgi und apache
Posted by Michelle Konzack <li...@freenet.de>.
Hallo James,
Am 2007-02-14 09:16:09, schrieb James Blond:
> Hallo Michelle,
>
> mit fast cgi habe ich das in Directory gemacht
>
> <Directory /server2/fcgi>
> AddHandler fcgid-script .php
> Options Indexes FollowSymLinks ExecCGI
> FCGIWrapper "/server2/php/php-cgi" .php
> AllowOverride all
> Order allow,deny
> Allow from all
> Satisfy any
> </Directory>
Dann muß ich wohl meinen excelent funktionierenden
apache 1.3 auf version 2 updaten oder? In Debian/Etch
habe ich nämlich kein modul für apache1.3 gefunden
Anm: Ich habe Performance-Probleme mit apache2, sprich,
er ist ewig und drei Tage langsam.
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Re: suphp, php-cgi und apache
Posted by James Blond <jb...@gmail.com>.
Hallo Michelle,
mit fast cgi habe ich das in Directory gemacht
<Directory /server2/fcgi>
AddHandler fcgid-script .php
Options Indexes FollowSymLinks ExecCGI
FCGIWrapper "/server2/php/php-cgi" .php
AllowOverride all
Order allow,deny
Allow from all
Satisfy any
</Directory>
Hope it helps
Mario
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------