PHP und GET Variablen

Apache, Lighttpd, nginx, Cherokee
Post Reply
tobiaska
Posts: 37
Joined: 2003-11-05 12:57
 

PHP und GET Variablen

Post by tobiaska »

Seit der neuinstallation meines Servers mit einem Image von Strato (Suse 9.0 mit VISAS) hab ich bei Apache folgendes Problem.

Wenn eine GET Variable (von mehreren) leer übertragen wird, dann sind die anderen auch leer. Also irgentwie löscht eine leere GET variable alle anderen.

habt ihre eine Idee woran das liegen könnte? Gibts vielleicht eine Einstellung in der php.ini?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: PHP und GET Variablen

Post by Roger Wilco »

Benutzt du SuPHP? Falls ja, mach ein Update auf die neueste Version.
tobiaska
Posts: 37
Joined: 2003-11-05 12:57
 

Re: PHP und GET Variablen

Post by tobiaska »

jo apache 2 läuft mit suphp!

ich habe im forum gelesen das es bei installationen und updates oft zu problemen gekommen ist. kennst du ein gutes howto oder hast du einen tipp für mich?
tobiaska
Posts: 37
Joined: 2003-11-05 12:57
 

Re: PHP und GET Variablen

Post by tobiaska »

So hats bei mir funktioniert!

1. Sicherung der originalen suPHP-Dateien

cp -a /usr/lib/apache2/mod_suphp.so /usr/lib/apache2/mod_suphp.so.orig
cp -a /usr/local/sbin/suphp /usr/local/sbin/suphp.orig

2. Download und Installation von suphp-0.5.2:

wget http://www.suphp.org/download/suphp-0.5.2.tar.gz
tar zxvf suphp-0.5.2.tar.gz
cd suphp-0.5.2/
./configure --with-apxs=/usr/sbin/apxs2 --prefix=/usr/local
--with-logfile=/var/log/apache2/suphp_log
make
make install

3. Neustart des Webservers:

/etc/init.d/apache restart

Die Auswertung der GET-Variablen sollte jetzt wieder funktionieren.
Post Reply