|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-02 18:28 UTC] david at ols dot es
[2006-07-02 18:29 UTC] david at ols dot es
[2006-07-02 20:36 UTC] tony2001@php.net
[2006-07-03 05:57 UTC] david at ols dot es
[2006-07-03 06:47 UTC] tony2001@php.net
[2006-07-03 07:42 UTC] david at ols dot es
[2017-01-20 21:06 UTC] heiglandreas@php.net
-Status: Open
+Status: Feedback
-Package: Feature/Change Request
+Package: *General Issues
[2017-01-20 21:06 UTC] heiglandreas@php.net
[2017-01-21 07:53 UTC] david at ols dot es
-Status: Feedback
+Status: Open
[2017-01-21 07:53 UTC] david at ols dot es
[2019-06-19 05:54 UTC] erik at coretech dot se
[2023-09-05 10:13 UTC] arturostreicha at gmail dot com
[2024-07-03 10:35 UTC] joshep269pawar at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 00:00:01 2025 UTC |
Description: ------------ Apache Environment variables (DOCUMENT_ROOT, SERVER_NAME, etc ...) are visible via phpinfo() and getenv() but not inside programs called via exec() and also not available to the mailer when called via mail() Reproduce code: --------------- test.php: <?php passthrough('print_env'); ?> print_env: #!/bin/sh /usr/bin/printenv Expected result: ---------------- the very same variables reported as "Apache Enviroment" when calling phpinfo() Actual result: -------------- just a few standard shell variables