[CloudLinux Case EA4D-84] ea-php72 not loading additional ini files
Hello,
recently we've noticed bug with php 7.2 on our servers.
If you have php.ini in domain directory and php version set to 7.2, additional .ini files not loading and some functions stop working.
Errors like Call to undefined function mysql_connect().
php.ini in that directory contains only this content
What could be wrong with server configuration? I atached screenshots with output from php.ini.
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
display_errors = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 128M
post_max_size = 50M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php72"
upload_max_filesize = 50M
zlib.output_compression = Off
What could be wrong with server configuration? I atached screenshots with output from php.ini.
-
Hello @keryfan, Can you verify if this server uses CloudLinux? If so, note that CloudLinux is aware of the issue (the CloudLinux case number is EA4D-84). You can monitor the CloudLinux blog to see when the solution is published: CloudLinux - Main | New template In the meantime, the temporary workaround is to set lsapi_phprc to "No" in the /etc/apache2/conf.d/lsapi.conf file. Thank you. 0 -
Thank's a lot. 0 -
Hello, To update, CloudLinux has published the solution to this issue to their CloudLinux Blog Thank you. 0 -
Hello, To update, the solution was published to the CloudLinux stable EA4 repo today: EasyApache 4 updated Thank you. 0
Please sign in to leave a comment.
Comments
4 comments