Skip to content

undefined function apache_getenv() #13

@bzub

Description

@bzub

My webserver stack is CentOS 6.4 + Apache + php-fpm via mod_fastcgi.so. I've tried Ubuntu 12.04 also.

Everything seems to work up until I run a query for a graph, at which point the browser shows:

POST http://tsdbserver:8080/adhoc/search/OpenTSDB [HTTP/1.1 500 Internal Server Error 42ms]

In the php-fpm logs I see:

PHP Fatal error:  Call to undefined function apache_getenv() in /vm/prod/StatusWolf/lib/StatusWolf/Model/Datasource/OpenTSDB.php on line 277

Does StatusWolf depend on an Apache + mod_php setup? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions