ENV vars not passed to Apache

apache
php

#1
print_r(array($_ENV));

The above code yields

Array
(
    [0] => Array
        (
            [APACHE_RUN_DIR] => /var/run/apache2
            [APACHE_PID_FILE] => /var/run/apache2/apache2.pid
            [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
            [APACHE_LOCK_DIR] => /var/lock/apache2
            [LANG] => C
            [APACHE_RUN_USER] => www-data
            [APACHE_RUN_GROUP] => www-data
            [APACHE_LOG_DIR] => /var/log/apache2
            [PWD] => /
        )
)

My assumption is this should also contain all the default ENV vars referenced here:
https://circleci.com/docs/2.0/env-vars/#build-details


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.