View Single Post
  #22  
Old 12-06-2020, 10:25 AM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the result of phpinfo() :

Code:
phpinfo()
PHP Version => 5.3.29

System => Linux ns3002344.ip-188-165-212.eu 4.9.58-xxxx-std-ipv6-64 #1 SMP Mon Oct 23 11:35:59 CEST 2017 x86_64
Build Date => Jun 15 2020 22:10:18
Configure Command =>  './configure'  '--enable-fpm' '--prefix=/usr/php53' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--enable-gd-native-ttf' '--with-zlib-dir' '--enable-mbstring' '--enable-sockets' '--enable-sysvsem' '--with-xsl' '--enable-soap' '--with-bz2' '--enable-zip' '--with-freetype-dir' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-openssl'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/php53/lib
Loaded Configuration File => /usr/php53/lib/php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20090626
PHP Extension => 20090626
Zend Extension => 220090626
Zend Extension Build => API220090626,NTS
PHP Extension Build => API20090626,NTS
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip  
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies


 _______________________________________________________________________


Configuration

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 5.3.29

Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/php$MINEUR/lib/php/extensions/edge/ => /usr/php$MINEUR/lib/php/extensions/edge/
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/php53/lib/php => .:/usr/php53/lib/php
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path =>  -t -i  =>  -t -i 
serialize_precision => 17 => 17
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.enable_gc => On => On
So I make changes in /usr/php53/lib/php.ini to add error_log = /var/log/phptesterror.log under log_errors = On

I restarted apache2 and here is what I have with phpinfo() :

Code:
phpinfo()
PHP Version => 5.3.29

System => Linux ns3002344.ip-188-165-212.eu 4.9.58-xxxx-std-ipv6-64 #1 SMP Mon Oct 23 11:35:59 CEST 2017 x86_64
Build Date => Jun 15 2020 22:10:18
Configure Command =>  './configure'  '--enable-fpm' '--prefix=/usr/php53' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--enable-gd-native-ttf' '--with-zlib-dir' '--enable-mbstring' '--enable-sockets' '--enable-sysvsem' '--with-xsl' '--enable-soap' '--with-bz2' '--enable-zip' '--with-freetype-dir' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-openssl'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/php53/lib
Loaded Configuration File => /usr/php53/lib/php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20090626
PHP Extension => 20090626
Zend Extension => 220090626
Zend Extension Build => API220090626,NTS
PHP Extension Build => API20090626,NTS
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip  
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies


 _______________________________________________________________________


Configuration

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 5.3.29

Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
error_append_string => no value => no value
error_log => /var/log/phptesterror.log => /var/log/phptesterror.log
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/php$MINEUR/lib/php/extensions/edge/ => /usr/php$MINEUR/lib/php/extensions/edge/
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/php53/lib/php => .:/usr/php53/lib/php
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path =>  -t -i  =>  -t -i 
serialize_precision => 17 => 17
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.enable_gc => On => On
So I checked rights on file /var/log/phptesterror.log :

Code:
-rw-r--r-- 1 root        root       0 nov.  22 00:00 alternatives.log
-rw-r--r-- 1 root        root     112 nov.  21 13:11 alternatives.log.1
-rw-r--r-- 1 root        root     169 mai   14  2018 alternatives.log.10.gz
-rw-r--r-- 1 root        root     791 nov.  18  2017 alternatives.log.11.gz
-rw-r--r-- 1 root        root    1,8K sept. 10 20:33 alternatives.log.2.gz
-rw-r--r-- 1 root        root    1,6K sept.  9 23:21 alternatives.log.3.gz
-rw-r--r-- 1 root        root     149 f?vr.  7  2020 alternatives.log.4.gz
-rw-r--r-- 1 root        root     131 f?vr.  6  2020 alternatives.log.5.gz
-rw-r--r-- 1 root        root     449 ao?t  28  2019 alternatives.log.6.gz
-rw-r--r-- 1 root        root     277 avril  7  2019 alternatives.log.7.gz
-rw-r--r-- 1 root        root     110 nov.  16  2018 alternatives.log.8.gz
-rw-r--r-- 1 root        root     163 ao?t   8  2018 alternatives.log.9.gz
drwxr-x--- 2 root        adm     4,0K d?c.   6 00:00 apache2/
drwxr-xr-x 2 root        root    4,0K d?c.   1 00:00 apt/
-rw-r----- 1 root        adm     2,8M d?c.   6 13:10 auth.log
-rw-r----- 1 root        adm      37M d?c.   6 00:00 auth.log.1
-rw-r----- 1 root        adm     3,2M nov.  29 00:00 auth.log.2.gz
-rw-r----- 1 root        adm     3,2M nov.  22 00:00 auth.log.3.gz
-rw-r----- 1 root        adm     2,8M nov.  15 00:00 auth.log.4.gz
drwxr-xr-x 2 beamium     beamium 4,0K d?c.   6 00:00 beamium/
-rw-rw---- 1 root        utmp     30M d?c.   6 13:10 btmp
-rw-rw---- 1 root        utmp    146M nov.  30 23:59 btmp.1
-rw-r----- 1 root        adm      39K d?c.   6 13:09 daemon.log
-rw-r----- 1 root        adm     719K d?c.   6 00:00 daemon.log.1
-rw-r----- 1 root        adm      44K nov.  29 00:00 daemon.log.2.gz
-rw-r----- 1 root        adm      46K nov.  22 00:00 daemon.log.3.gz
-rw-r----- 1 root        adm      40K nov.  15 00:00 daemon.log.4.gz
drwxr-xr-x 2 root        root    4,0K nov.  14  2017 dbconfig-common/
-rw-r----- 1 root        adm        0 sept. 13 00:00 debug
-rw-r----- 1 root        adm     9,3K sept. 10 20:23 debug.1
-rw-r----- 1 root        adm     1,7K sept.  9 23:21 debug.2.gz
-rw-r----- 1 root        adm     1,7K juin  18  2019 debug.3.gz
-rw-r----- 1 root        adm     1,9K nov.  14  2017 debug.4.gz
-rw-r----- 1 root        adm        0 nov.   6  2014 dmesg
-rw-r--r-- 1 root        root       0 d?c.   1 00:00 dpkg.log
-rw-r--r-- 1 root        root    3,5K nov.  27 18:30 dpkg.log.1
-rw-r--r-- 1 root        root    1,6K ao?t  28  2019 dpkg.log.10.gz
-rw-r--r-- 1 root        root    1,7K juil. 26  2019 dpkg.log.11.gz
-rw-r--r-- 1 root        root     963 juin   6  2019 dpkg.log.12.gz
-rw-r--r-- 1 root        root    1,2K nov.  21 13:13 dpkg.log.2.gz
-rw-r--r-- 1 root        root     35K sept. 13 18:31 dpkg.log.3.gz
-rw-r--r-- 1 root        root     33K sept.  9 23:22 dpkg.log.4.gz
-rw-r--r-- 1 root        root     243 ao?t  15 18:16 dpkg.log.5.gz
-rw-r--r-- 1 root        root    1,8K juin  22 10:24 dpkg.log.6.gz
-rw-r--r-- 1 root        root     846 mars  27  2020 dpkg.log.7.gz
-rw-r--r-- 1 root        root     614 f?vr.  7  2020 dpkg.log.8.gz
-rw-r--r-- 1 root        root    3,5K f?vr.  6  2020 dpkg.log.9.gz
drwxr-s--- 2 Debian-exim adm     4,0K d?c.   6 00:00 exim4/
-rw-r--r-- 1 root        root     32K sept.  9 23:20 faillog
drwxr-xr-x 2 root        root    4,0K sept.  9 23:04 fsck/
-rw-r----- 1 root        adm      982 d?c.   6 05:29 kern.log
-rw-r----- 1 root        adm      131 d?c.   1 18:56 kern.log.1
-rw-r----- 1 root        adm      329 nov.   1 05:28 kern.log.2.gz
-rw-r----- 1 root        adm      127 oct.   8 23:05 kern.log.3.gz
-rw-r----- 1 root        adm      328 oct.   4 05:23 kern.log.4.gz
-rw-rw-r-- 1 root        utmp    287K d?c.   6 12:37 lastlog
drwx------ 2 root        root     40K d?c.   6 07:15 letsencrypt/
-rw-r----- 1 root        adm      125 d?c.   6 06:25 mail.err
-rw-r----- 1 root        adm     1,5K d?c.   5 06:25 mail.err.1
-rw-r----- 1 root        adm      156 nov.  28 06:25 mail.err.2.gz
-rw-r----- 1 root        adm      157 nov.  21 06:25 mail.err.3.gz
-rw-r----- 1 root        adm      357 nov.  14 20:05 mail.err.4.gz
-rw-r----- 1 root        adm     4,5K d?c.   6 12:35 mail.info
-rw-r----- 1 root        adm      47K d?c.   5 21:54 mail.info.1
-rw-r----- 1 root        adm     6,9K nov.  28 23:29 mail.info.2.gz
-rw-r----- 1 root        adm     5,2K nov.  21 14:30 mail.info.3.gz
-rw-r----- 1 root        adm     4,7K nov.  14 23:26 mail.info.4.gz
-rw-r----- 1 root        adm     4,5K d?c.   6 12:35 mail.log
-rw-r----- 1 root        adm      47K d?c.   5 21:54 mail.log.1
-rw-r----- 1 root        adm     6,9K nov.  28 23:29 mail.log.2.gz
-rw-r----- 1 root        adm     5,2K nov.  21 14:30 mail.log.3.gz
-rw-r----- 1 root        adm     4,7K nov.  14 23:26 mail.log.4.gz
-rw-r----- 1 root        adm      125 d?c.   6 06:25 mail.warn
-rw-r----- 1 root        adm     1,5K d?c.   5 06:25 mail.warn.1
-rw-r----- 1 root        adm      156 nov.  28 06:25 mail.warn.2.gz
-rw-r----- 1 root        adm      237 nov.  21 13:13 mail.warn.3.gz
-rw-r----- 1 root        adm      357 nov.  14 20:05 mail.warn.4.gz
-rw-r----- 1 root        adm     1,2K d?c.   6 05:29 messages
-rw-r----- 1 root        adm     1,5K d?c.   6 00:00 messages.1
-rw-r----- 1 root        adm      179 nov.  29 00:00 messages.2.gz
-rw-r----- 1 root        adm      183 nov.  22 00:00 messages.3.gz
-rw-r----- 1 root        adm      180 nov.  15 00:00 messages.4.gz
drwxr-s--- 2 mysql       adm     4,0K d?c.   6 00:00 mysql/
-rw-r----- 1 mysql       adm        0 sept.  8 00:40 mysql.log.1
drwxr-xr-x 2 noderig     noderig 4,0K d?c.   6 00:00 noderig/
-rw-r--r-- 1 root        adm        0 d?c.   1 23:08 phptesterror.log
drwx------ 2 root        root    4,0K sept. 10 20:04 private/
drwxr-xr-x 2 root        root    4,0K d?c.   6 00:00 proftpd/
drwxr-xr-x 3 root        root    4,0K ao?t  28  2019 puppetlabs/
-rw-r----- 1 root        adm      62K d?c.   6 13:09 syslog
-rw-r----- 1 root        adm     103K d?c.   6 00:00 syslog.1
-rw-r----- 1 root        adm     9,5K d?c.   5 00:00 syslog.2.gz
-rw-r----- 1 root        adm      11K d?c.   4 00:00 syslog.3.gz
-rw-r----- 1 root        adm     9,3K d?c.   3 00:00 syslog.4.gz
-rw-r----- 1 root        adm      12K d?c.   2 00:00 syslog.5.gz
-rw-r----- 1 root        adm      13K d?c.   1 00:00 syslog.6.gz
-rw-r----- 1 root        adm      13K nov.  30 00:00 syslog.7.gz
drwxr-xr-x 2 root        root    4,0K sept. 27  2014 sysstat/
-rw-r----- 1 root        adm        0 sept. 13 00:00 user.log
-rw-r----- 1 root        adm     2,1K sept. 10 20:21 user.log.1
-rw-r----- 1 root        adm      274 sept.  9 23:20 user.log.2.gz
-rw-rw-r-- 1 root        utmp     37K d?c.   6 12:37 wtmp
-rw-rw-r-- 1 root        utmp    3,0K ao?t  16 00:33 wtmp.1
As far as I understand, the file is writable by root, as well as other log files in this directory. So that SHOULD work, but when I run a diagnostic email with vBulletin, nothing writes down in that /var/log/phptesterror.log

I don't know what to do
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01778 seconds
  • Memory Usage 1,870KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete