Skip to main content
Copied error message from title into text for a bit more clarity
Source Link

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

And I get the error undefined function apache_request_headers()

Here is the wp info:

PHP binary:     /usr/bin/php
PHP version:    5.5.37
php.ini used:   /etc/php.ini
WP-CLI root dir:        phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

Here is the wp info:

PHP binary:     /usr/bin/php
PHP version:    5.5.37
php.ini used:   /etc/php.ini
WP-CLI root dir:        phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

And I get the error undefined function apache_request_headers()

Here is the wp info:

PHP binary:     /usr/bin/php
PHP version:    5.5.37
php.ini used:   /etc/php.ini
WP-CLI root dir:        phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

Adjusted code formatting
Source Link
birgire
  • 67.8k
  • 7
  • 119
  • 251

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

Here is the wp info: PHP binary: /usr/bin/php PHP version: 5.5.37 php.ini used: /etc/php.ini WP-CLI root dir: phar://wp-cli.phar WP-CLI packages dir: WP-CLI global config: WP-CLI project config: WP-CLI version: 0.24.0-alpha-95a84de

PHP binary:     /usr/bin/php
PHP version:    5.5.37
php.ini used:   /etc/php.ini
WP-CLI root dir:        phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

Thanks

Dan

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

Here is the wp info: PHP binary: /usr/bin/php PHP version: 5.5.37 php.ini used: /etc/php.ini WP-CLI root dir: phar://wp-cli.phar WP-CLI packages dir: WP-CLI global config: WP-CLI project config: WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

Thanks

Dan

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

Here is the wp info:

PHP binary:     /usr/bin/php
PHP version:    5.5.37
php.ini used:   /etc/php.ini
WP-CLI root dir:        phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

Source Link

undefined function apache_request_headers()

I'm trying to run the following command locally:

/usr/local/bin/wp plugin deactivate "EG Fulltext Search" --allow-root

Here is the wp info: PHP binary: /usr/bin/php PHP version: 5.5.37 php.ini used: /etc/php.ini WP-CLI root dir: phar://wp-cli.phar WP-CLI packages dir: WP-CLI global config: WP-CLI project config: WP-CLI version: 0.24.0-alpha-95a84de

This is running apache on Centos 7. Php is running as Apache 2.0 Handler.

I used the nightly version but I also get this error the latest stable release.

I'm really stuck on this at the moment and can't use the wp commands so any help would be really appreciated.

Thanks

Dan