6

I am trying to compile APCu cache extension using make && make install.

I get a compilation error regarding not being able to find zend_string or zend_long. Do you guys know what extension I would need for these?

APCu

Thanks :)

Machavity
  • 30,841
  • 27
  • 92
  • 100
Kal
  • 2,239
  • 6
  • 36
  • 74

2 Answers2

6

Those types only exist in PHP 7/Zend Engine 3. You need the PHP 5 version of the extension.

Andrea
  • 19,134
  • 4
  • 43
  • 65
4

I try to run:

./configure --with-php-config=/usr/local/php7/bin/php-config

replace

./configure

Success.