Skip to main content

APCu w/ php7

Comments

7 comments

  • Sean Dinwiddie
    WHM 56 w/CGI/FastCGI php extension error_log with APC-4: undefined symbol: zval_used_for_init in Unknown on line 0 APCu-5.1.4: pecl install command states: ERROR: `make' failed.
    0
  • Sean Dinwiddie
    Fixed it! Updated the "/usr/local/bin/php-config" file per changing prefix, datarootdir, and extension_dir to the "/opt/cpanel/ea-php70/root/usr" directory.
    0
  • cPanelMichael
    Fixed it! Updated the "/usr/local/bin/php-config" file per changing prefix, datarootdir, and extension_dir to the "/opt/cpanel/ea-php70/root/usr" directory.

    Hello, I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
    0
  • Serhat
    I am also trying to find out how to install apcu manually as pecl does not work on EA4 I have php 5.6 and php 7 installed. php 7 is dso and I want to install apcu for php 7 Below are the insturctions for installing but how can I point it to the php 7 installation? Thanks.
    $ gunzip -c apcu_x.y.tar.gz | tar xf - $ cd apcu_x.y $ /path/to/phpize $ ./configure [--with-php-config=/path/to/php-config] $ make $ make install
    0
  • cPanelMichael
    Below are the insturctions for installing but how can I point it to the php 7 installation?

    Hello, You may find this post helpful: pear, pecl not working after EasyApach4 Thank you.
    0
  • Serhat
    Hello, You may find this post helpful: pear, pecl not working after EasyApach4 Thank you.

    Sorry I don't understand why I would find that post helpful.
    0
  • cPanelMichael
    To update, the last response on that thread notes the resolution of the issue with PECL working on EasyApache 4. You can use the "yum update" command to receive the updates with that resolution. Thank you.
    0

Please sign in to leave a comment.