Skip to main content

Comments

6 comments

  • 24x7server
    Hi, You can install the PHP module via easyapache4 interface directly. The module is available in EA4.. PHP Options - EasyApache 4 - cPanel Documentation
    0
  • cPanelMichael
    Hello, The "ereg" PHP extension is installed by default in PHP version 5.6 as part of the php-common RPM:
    # repoquery -q --whatprovides 'ea-php56-php-ereg' | sort -V | tail -1 ea-php56-php-common-0:5.6.31-3.3.7.cpanel.x86_64
    The other extensions you listed are installed by default as part of the php-process RPM:
    # repoquery -q --whatprovides 'ea-php56-php-sysvmsg' | sort -V | tail -1 ea-php56-php-process-0:5.6.31-3.3.7.cpanel.x86_64 # repoquery -q --whatprovides 'ea-php56-php-sysvsem' | sort -V | tail -1 ea-php56-php-process-0:5.6.31-3.3.7.cpanel.x86_64 # repoquery -q --whatprovides 'ea-php56-php-sysvshm' | sort -V | tail -1 ea-php56-php-process-0:5.6.31-3.3.7.cpanel.x86_64
    Thank you.
    0
  • Rakaris Bakaris
    Hello! thank you, but why I can t see it on phpinfo() page? Is this means that egrep support persists but it's not visible on phpinfo()?
    0
  • cPanelMichael
    Hello, I see a section for "ereg" in my phpinfo file on a test account account assigned PHP 5.6: ereg Regex Library Bundled library enabled
    In your PHPINFO file, look for the "Loaded Configuration File" value and verify it shows "/opt/cpanel/ea-php56/root/etc/php.ini". Also, run the "yum list ea-php56-php-common" command to verify the RPM is installed. Thank you.
    0
  • Rakaris Bakaris
    Hello! Loaded php.ini: /opt/cpanel/ea-php70/root/etc/php.ini Installed Packages ea-php70-php-common.x86_64 7.0.24-1.1.2.cpanel @EA4
    0
  • cPanelMichael
    Hello @Rakaris Bakaris, You mentioned using PHP 5.6 in your original post, and ereg is in-fact supported in that version. However, the ereg function is removed as of PHP 7.0: PHP: ereg - Manual You'd need to use "WHM >> MultiPHP Manager" to configure the account to use PHP 5.6 if you want to use that function. Thank you.
    0

Please sign in to leave a comment.