#38835 [Opn->Csd]: I cannot use the -d switch in the Arguments field of my HTTP Server.
| From: | tony2001@php.net | Date: | Tue, 14 Nov 2006 09:21:28 +0000 |
| Subject: | #38835 [Opn->Csd]: I cannot use the -d switch in the Arguments field of my HTTP Server. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104957@lists.php.net to get a copy of this message | ||
ID: 38835
Updated by: tony2001@php.net
Reported By: trustpunk at hotmail dot com
-Status: Open
+Status: Closed
Bug Type: CGI related
Operating System: Windows
PHP Version: 5.1.6
Assigned To: dmitry
New Comment:
No, it's not possible. -d is for only one option, but you can specify
several -d parameters.
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 04:35:20] trustpunk at hotmail dot com
Hi, sorry to bring this back up. With the new 5.2.0 out, I'm
able to use the -d arguments but I'm not able to pass more than
one argument. Is this even possible?
Example:
-d safe_mode=On;display_errors=Off
------------------------------------------------------------------------
[2006-09-19 20:40:26] dmitry@php.net
Fixed in CVS HEAD and PHP_5_2
------------------------------------------------------------------------
[2006-09-14 19:42:31] trustpunk at hotmail dot com
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 this bug report at http://bugs.php.net/?id=38835&edit=1