#38835 [Csd->Opn]: I cannot use the -d switch in the Arguments field of my HTTP Server.

From: Date: Tue, 14 Nov 2006 04:35:21 +0000
Subject: #38835 [Csd->Opn]: 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-104952@lists.php.net to get a copy of this message
ID: 38835 User updated by: trustpunk at hotmail dot com Reported By: trustpunk at hotmail dot com -Status: Closed +Status: Open Bug Type: CGI related Operating System: Windows PHP Version: 5.1.6 Assigned To: dmitry New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#104952) next »