#24979 [NEW]: $PHP_SELF not determined
| From: | sgerrand at mac dot com | Date: | Fri, 08 Aug 2003 06:11:40 +0000 |
| Subject: | #24979 [NEW]: $PHP_SELF not determined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-45547@lists.php.net to get a copy of this message | ||
From: sgerrand at mac dot com
Operating system: Mac OS X/10.2.6
PHP version: 4.3.2
PHP Bug Type: PHP options/info functions
Bug description: $PHP_SELF not determined
Description:
------------
Configure Command
'./configure' '--prefix=/usr/local/php' '--with-
config-file-path=/usr/local/php/lib' '--with-apxs' '--
with-iconv=/usr/local/php' '--with-openssl=/usr' '--
with-zlib=/usr' '--with-mysql' '--with-pgsql=/Users/
marc/entropy-cvs/php-module/build/postgresql-build' '--
with-gd' '--with-png-dir=/usr/local/php' '--with-
freetype-dir=/usr/local/php' '--with-t1lib=/usr/local/
php' '--with-jpeg-dir=/usr/local/php' '--with-tiff-
dir=/usr/local/php' '--with-curl=/usr/local/php' '--
with-mcal=/usr/local/php' '--with-mcrypt=/usr/local/
php' '--with-mhash=/usr/local/php' '--with-mcve=/usr/
local/php' '--with-pdflib=/usr/local/php' '--with-
imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-
expat-dir=/usr/local/php' '--with-gettext=/usr/local/
php' '--with-dom=/usr/local/php' '--with-dom-xslt=/usr/
local/php' '--with-dom-exslt=/usr/local/php' '--with-
ldap' '--with-xmlrpc' '--with-xml' '--with-iodbc' '--
with-xslt-sablot=/usr/local/php' '--enable-xslt' '--
enable-sockets' '--enable-dbx' '--enable-dbase' '--
enable-trans-sid' '--enable-exif' '--enable-wddx' '--
enable-ftp' '--enable-mbstring
Reproduce code:
---------------
<?php echo $PHP_SELF; ?>
Expected result:
----------------
output of the script's current location
or the equivalent of
<?php echo $_SERVER[PHP_SELF]; ?>
Actual result:
--------------
NULL
--
Edit bug report at http://bugs.php.net/?id=24979&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24979&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24979&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24979&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24979&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24979&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24979&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24979&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24979&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24979&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24979&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24979&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24979&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24979&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24979&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24979&r=gnused