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.
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
Code:
; 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.
Attachments
-
325.8 KB Views: 5
-
546.4 KB Views: 5