ID: 42973 Updated by: [EMAIL PROTECTED] Reported By: asoloviev at mail15 dot com -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Gentoo PHP Version: 5.2.4 New Comment:
See last comment here: http://bugs.php.net/bug.php?id=14416 It's really an OS limitation. Report to Linux kernel developers. :) Previous Comments: ------------------------------------------------------------------------ [2007-10-15 12:34:54] asoloviev at mail15 dot com Description: ------------ php-cli is incorrectly parsing directives specified as command line arguments Reproduce code: --------------- $ cat test.php #!/usr/lib/php5/bin/php -d memory_limit=192M -d safe_mode=Off <?php phpinfo(); ?> $ ./test.php Expected result: ---------------- phpinfo() PHP Version => 5.2.4_p20070914-pl2-gentoo ... memory_limit => 192M => 192M ... safe_mode => On => On ... Actual result: -------------- phpinfo() PHP Version => 5.2.4_p20070914-pl2-gentoo ... memory_limit => 192M -d safe_mode => 192M -d safe_mode ... safe_mode => Off => Off ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42973&edit=1
