Skip to main content

After updating to 58 and EA4 I cannot enable phpinfo

Comments

7 comments

  • cPanelMichael
    Hello, Are you using CloudLinux with CageFS enabled? If so, please review the following document:
    0
  • Richard Edwards
    No, Centos7. Also, when I updated everything, php lost my PEAR location, I had to manually add the path back in, it was left as the default of '/path/to/pear'. Also it did not copy any of my original PHP settings at all, I have basically had to manually copy all my PHP settings back into each php version's file, which turns out are not being read anyway.
    0
  • cPanelMichael
    Hello, Please let us know if the following thread is helpful: MySQL extension missing Thank you.
    0
  • Richard Edwards
    Not really, thats for per-user ini settings, I am talking about the global php7/php56/php55 configs that exist in WHM. For example, all my sites currently use the old php.ini that WHM56 had under PHP Configuration Editor, but now I am on 58 that page is not available and is now Multi PHP settings. So lets say I want to change the upload limit on all php7 sites, I simply cannot do that. I have to SSH and edit the OLD file, it seems all PHP versions are using the old ini file. This is for global setting, not per-account
    0
  • cPanelMichael
    So lets say I want to change the upload limit on all php7 sites, I simply cannot do that. I have to SSH and edit the OLD file, it seems all PHP versions are using the old ini file. This is for global setting, not per-account

    Hello, I browsed to "WHM Home " Software " MultiPHP INI Editor" and selected "ea-php70" under "Configure basic settings of a PHP version". I changed "upload_max_filesize" from "2M" to "10M" and clicked on the "Apply" button. Upon testing, the master value in an individual account's PHPINFO file correctly shows "10M". Also, I edited the PHP configuration via the command line to confirm it works outside of the WHM UI:
    vi /opt/cpanel/ea-php70/root/etc/php.d/local.ini /scripts/restartsrv_httpd
    Could you let us know if you notice a different behavior, and if so, let us know your PHP handler? Thank you.
    0
  • Richard Edwards
    I can change values in MultiPHP and it never updates. In the advanced editor for php56 I have this line: disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open Yet I cannot use phpinfo as it says it is disabled. So I cannot show you the phpinfo result either.
    0
  • cPanelMichael
    I can change values in MultiPHP and it never updates. In the advanced editor for php56 I have this line: disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open Yet I cannot use phpinfo as it says it is disabled. So I cannot show you the phpinfo result either.

    Could you let us know which cPanel's PHPRC PHP Patch for EasyApache 4 - EasyApache 4 - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.