Description of problem: Create a scalable php/perl app and try to print all the env vars via programming. No env var is found. Version-Release number of selected component (if applicable): fork_ami_refctr1_381 How reproducible: Always Steps to Reproduce: 1.Create a scalable php/perl app 2.Use the following code to list all the env vars: For php app: <?php foreach ($_ENV as $key=>$val ) { echo $key."\n"; } ?> For perl app: #!/usr/bin/perl print "Content-type: text/plain\r\n\r\n"; $|=1; foreach $fieldname(keys %ENV){ print "$ENV[$fieldname]\n"; } exit; 3.Git push all the changes and check the web page. Actual results: No env var is printed out. Expected results: All the env vars should be printed out. Additional info:
I've tested it on fork_refctr1_420 again. Perl apps work properly now. The local-gear of php still doesn't have any env vars, but after scaling up, the newly added php-5.3 gear works properly.
Fix has been made upstream. Waiting on rebase.
Fixed in >= fork_ami_refctr1_444
Since the code of model refactor has been merged into master, I've tested it on devenv_2723, and the local gear of both php and perl scalable apps have all the environment variables. Verify this bug on devenv_2723.