Skip to main content

Issue with HOST/PATH sections in php.ini after update to PHP 7.0.20

Comments

3 comments

  • cPanelMichael
    Hello, The PHP bug in question is referenced at the following URL: Fixed bug #74600 and #74738 by manuelm " Pull Request #2570 " php/php-src " GitHub Per this bug report, the update to PHP 7.0.20 broke support for HOST/PATH sections in the php.ini file. Here's a description from PHP's documentation about how the HOST and PATH sections are utilized: Here's a short explanation of the configuration directives. [HOST=] This section allows you to define a set of php.ini directives that will take effect on the named host. Example #1 Activate full on-screen error reporting for dev. domain [HOST=dev.site.com] error_reporting = E_ALL display_errors = On [PATH=] This section allows you to define a set of php.ini directives that will take effect when a script runs from the named path. Example #2 Add security script for protected areas [PATH=/home/site/public/secure] auto_prepend_file=security.php
    As I see, PHP plans to include the resolution with PHP version 7.0.21. You should see PHP version 7.0.21 included with EasyApache 4 shortly after it's published by PHP. Thank you. Mod Note: I cleaned up some of the additional posts to this thread in order to clarify the issue referenced here is related to a recent bug in PHP.
    0
  • EneTar
    I have updated to PHP 7.0.21 (cli) (built: Jul 11 2017 16:59:59) ( NTS ) but the PATH section in
    /opt/cpanel/ea-php70/root/etc/php.ini
    gets ignored I try to override those values
    upload_tmp_dir= open_basedir = error_log = memory_limit = max_execution_time =
    Any ideas?
    0
  • cPanelMichael
    Hello @EneTar, Could you open a support ticket using the link in my signature so we can take a closer look. Thank you.
    0

Please sign in to leave a comment.