ID: 16577 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Apache2 related Operating System: Linux PHP Version: 4.0CVS-2002-04-12 New Comment:
Just installed PHP4.2.0RC4 as APXS with Apache2(.0.35) on My Mandrake 8.0 system. Compiles just fine, works good, but like others mentioned, I do not see the Apache specific environment variables in phpinfo() (f.e: PATH_TRANSLATED is unavailable). Apache 2 configure options: ./configure --prefix=/usr/local/apache2 --enable-so PHP4.2.0.RC4 configure options: ./configure --with-mysql=/usr --with--gsql --enable-xml --enable-wddx --enable-ftp --enable-sysvsem --enable-sysvshm --with-apxs2=/usr/local/apache2/bin/apxs --with-ttf=/usr/include --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr/local/src/freetype-2.0.4 --with-png-dir=/usr/local/src/libpng-1.2.0/ --with-gd=/usr/local/src/gd-2.0.1/ --enable-gd-native-tt --enable-gd-imgstrttf --enable-track-vars What am I doing wrong, or is it a bug? Regards, Arjan Haverkamp [EMAIL PROTECTED] Previous Comments: ------------------------------------------------------------------------ [2002-04-12 20:22:27] [EMAIL PROTECTED] Works fine here with PHP 4.2.0RC3 and Apache 2.0.35. --Jani p.s. Try RC3 from http://www.php.net/~derick/ ------------------------------------------------------------------------ [2002-04-12 19:07:33] [EMAIL PROTECTED] i want to use apache2 and i wouldn't rewrite all my php scripts ------------------------------------------------------------------------ [2002-04-12 18:53:51] [EMAIL PROTECTED] setting register_globals is set to on and it doesn't work and it also doesn't work with php4.1.2 with apache2filter from cvs and apache2 ------------------------------------------------------------------------ [2002-04-12 18:12:30] [EMAIL PROTECTED] In PHP 4.2.0 and above, register_globals defaults to OFF in php.ini. Please try setting it 'on' or use the new super globals: $_ENV[], $_GET, $_SERVER..etc. If this is not the case, reopen this bug report. ------------------------------------------------------------------------ [2002-04-12 18:09:07] [EMAIL PROTECTED] me and some other friends of mine have tested the latest apache2 + and newest php4 versions an got the same problem. php doesn't get any enviroment variables for example REMOTE_ADDR oder some variables like www.foo.org?test=foo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16577&edit=1