krakjoe / apcu-bc

APCu Backwards Compatiblity Module
Other
33 stars 15 forks source link

ext/apcu/php_apc.h: No such file or directory #1

Closed ctrl-f5 closed 8 years ago

ctrl-f5 commented 8 years ago
php_apc.c:33:30: fatal error: ext/apcu/php_apc.h: No such file or directory
 #include "ext/apcu/php_apc.h"

I've just installed APCu for php7, and am now trying to add this, but I'm getting the above error.

remicollet commented 8 years ago

You need APCu "master" which install this header.

ctrl-f5 commented 8 years ago

aah ok, right, I have APCu 5.1.0 installed. switching to master solved the problem, thanks.

sajidunnar commented 6 years ago

---aah ok, right, I have APCu 5.1.0 installed. switching to master solved the problem, thanks. Can you please explain , I Am getting same error

include "ext/apcu/php_apc.h"

       ^~~~~~~~~~~~~~~~~~~~                                                

1 error generated.
make: *** [php_apc.lo] Error 1
ERROR: `make' failed

install [--with-mariadb]

➜ ~ #include "ext/apcu/php_apc.h"

➜ ~ pecl list Installed packages, channel pecl.php.net:

Package Version State apcu 5.1.12 stable geoip 1.1.1 beta