|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17293 Environment variables
Submitted: 2002-05-17 13:34 UTC Modified: 2002-05-17 13:38 UTC
From: cris at cdc dot unrc dot edu dot ar Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.1 OS: SuSE Linux 8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 + 23 = ?
Subscribe to this entry?

 [2002-05-17 13:34 UTC] cris at cdc dot unrc dot edu dot ar
I've upgraded PHP from 4.1.2 to 4.2.1 and all variables passed via url parameters are empty.
For example:

inside detail.php $order and $sid are not set.

I have to modify all the pages to include things like:


and then sid get the desired value (15).

I've compiled this version exactly the same way as 4.1.2 and in the older version it works ok (under SuSE 8).

Files & versions:
 php-4.2.1.tar.gz   and  php-4.1.2.tar.gz

The following is the script I used to compile:

# Instalaci?n de apache (1ra. parte)
# ----------------------------------
tar zxf apache_1.3.24.tar.gz
cd apache_1.3.24
./configure --prefix=/webmail
cd ..

# Instalaci?n de OpenSSL
# ----------------------

tar zxf openssl-0.9.6c.tar.gz
cd openssl-0.9.6c
make test
make install
cd ..

# Instalaci?n de Mod_SSL sin certificado
# --------------------------------------

tar zxf mod_ssl-2.8.8-1.3.24.tar.gz 
cd mod_ssl-2.8.8-1.3.24
./configure \
    --with-apache=../apache_1.3.24 \
    --with-ssl=../openssl-0.9.6c \
cd ..

# Librer?a c-client para IMAP
# ---------------------------

tar zxf c-client.tar.Z
cd imap-2001.BETA.SNAP-0107221451/
make slx

cp c-client/c-client.a /usr/local/lib/c-client.a
cp c-client/rfc822.h /usr/local/include 
cp c-client/mail.h /usr/local/include
cp c-client/linkage.h /usr/local/include
cd ..

# Instalaci?n de php4
# -------------------

tar zxf php-4.2.1.tar.gz
cd php-4.2.1
./configure --with-mysql --with-apache=../apache_1.3.24 --enable-track-vars --with-imap --with-oci8
make install
cp php.ini-dist /usr/local/lib/php.ini
cd ..

cd apache_1.3.24
./configure --prefix=/webmail --activate-module=src/modules/php4/libphp4.a --enable-module=ssl
make certificate TYPE=custom
make install

And then in httpd.conf:
DirectoryIndex index.html index.php index.php3

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-17 13:38 UTC]
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 14:01:28 2023 UTC