From:             trustpunk at hotmail dot com
Operating system: Windows
PHP version:      5.1.6
PHP Bug Type:     Safe Mode/open_basedir
Bug description:  I cannot use the -d switch in the Arguments field of my HTTP 
Server.

Description:
------------
I can use the -d argument inside of the CLI interface of PHP, but I cannot
use it inside the CGI/FastCGI Interface.

Reproduce code:
---------------
There's no code to reproduce. I'm trying to use the -d argument with my
"Abyss Web Server" setup. It allows you to add arguments to the
Interpreter settings and it won't work when I use the -d with
"php-cgi.exe" as my Interpreter.

I've been in the software forums on this issue and they say it's caused by
PHP not passing the -d argument.

Here's an example from the "Abyss Web Server" settings.

Interface: CGI/FastCGI
Interpreter: C:\PHP\php-cgi.exe
Arguments: -d safe_mode=off

Type: PHP Style

Associated Extensions: php 

Expected result:
----------------
I expect to be able to use the -d Argument with my PHP settings. I'm using
the CGI/FastCGI Interface.

Actual result:
--------------
I don't get any results. The arguments "-d" are not passed to PHP.

-- 
Edit bug report at http://bugs.php.net/?id=38835&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38835&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38835&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38835&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38835&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38835&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38835&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38835&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38835&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38835&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38835&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38835&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38835&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38835&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38835&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38835&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38835&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38835&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38835&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38835&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38835&r=mysqlcfg

Reply via email to