回答編集履歴
2
追記修正
    
        answer	
    CHANGED
    
    | @@ -1,6 +1,5 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            質問に記載された .bash_profile の内容は、Webサーバーの起動ユーザーの .bash_profile に設定しているのでしょうか?
         | 
| 2 2 |  | 
| 3 | 
            -
             | 
| 4 3 | 
             
            apache で、あれば、httpd.conf に `SetEnv` ディレクティブを使用することで環境変数を設定可能です。
         | 
| 5 4 |  | 
| 6 5 | 
             
            [Apache モジュール mod_env](https://httpd.apache.org/docs/2.4/ja/mod/mod_env.html) 参照
         | 
1
追記
    
        answer	
    CHANGED
    
    | @@ -1,1 +1,6 @@ | |
| 1 | 
            -
            Web サーバーに何をお使いかわかりませんが、質問に記載された .bash_profile の内容は、Webサーバーの起動ユーザーの .bash_profile に設定しているのでしょうか?
         | 
| 1 | 
            +
            Web サーバーに何をお使いかわかりませんが、質問に記載された .bash_profile の内容は、Webサーバーの起動ユーザーの .bash_profile に設定しているのでしょうか?
         | 
| 2 | 
            +
             | 
| 3 | 
            +
             | 
| 4 | 
            +
            apache で、あれば、httpd.conf に `SetEnv` ディレクティブを使用することで環境変数を設定可能です。
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            [Apache モジュール mod_env](https://httpd.apache.org/docs/2.4/ja/mod/mod_env.html) 参照
         | 
