Skip to main content

Force EasyApache to re-install beta PECL

Comments

5 comments

  • cPanelMichael
    Hello :) Beta modules on PECL are not supported, but you could submit a feature request for this via: Submit A Feature Request As a workaround, you could setup a post EasyApache hook to install that PECL module when EasyApache finishes: Script Hooks - /scripts/posteasyapache Thank you.
    0
  • Simsim
    ]Hello :) Beta modules on PECL are not supported, but you could submit a feature request for this via: Submit A Feature Request As a workaround, you could setup a post EasyApache hook to install that PECL module when EasyApache finishes: Script Hooks - /scripts/posteasyapache Thank you.

    Thank you so much. I don't know how to submit feature requests. Also some of the available feature requests haven't been achieved since years (but of course cPanel guys have their reasons) Actually I tried to use easyapache hook, But the problem is that the pecl install ask for confirmation "yes/no" while installing. I am afraid if I put this line: pecl install apcu-beta in posteasyapache, It will cause something to hang or something else happen. I wish if someone test that for me. or give me a suggestion.
    0
  • cPanelMichael
    ]But the problem is that the pecl install ask for confirmation "yes/no" while installing. I am afraid if I put this line: pecl install apcu-beta in posteasyapache, It will cause something to hang or something else happen. I wish if someone test that for me. or give me a suggestion.

    You could use a command such as:
    yes '' | pecl install apcu-beta
    Thank you.
    0
  • morefx
    I am facing the same problem. I did add apcu to the posteasyapache script:
    $ cat /scripts/posteasyapache #!/bin/bash yes '' | pecl install apcu-beta
    The permissions seem to be correct:
    $ ls -lh /scripts/posteasyapache -rwxr-xr-x 1 root root 44 Jan 13 22:52 /scripts/posteasyapache
    However, apcu is not installed after EasyApache is executed and has to be reinstalled manually:
    $ yes '' | pecl install apcu-beta
    Due to it's beta status apcu can not be installed using WHM -> Module Installers -> PHP Pecl. Still some software packages like the cms "TYPO3" depend on apc or, in case of php 5.5, on apcu. A downgrade to php 5.4 is not an option. A cPanel compatible solution to maintain php 5.5 with apcu would be nice.
    0
  • cPanelMichael
    I suggest submitting a feature request for it's native support via: Submit A Feature Request Thank you.
    0

Please sign in to leave a comment.