• 3911
  • More

the iterative troubleshooting continues :^)

every time I try to post a video (which still does not work..)
I get this via email..

Re: Cron /usr/bin/php -q /home/villageshaman/www.mytribes.net/public/periodic/cron.php

PHP Fatal error:  Allowed memory size of 94371840 bytes exhausted (tried to allocate 48238592 bytes) in /home/villageshaman/www.mytribes.net/public/inc/utils.inc.php on line 942

--

I have plenty of memory, and my files have the correct permissions.

I am trying not to create all these duplicate threads, I wish we had a SVN type submission que for these things, it would probably be easier..  🤣😁

I wonder, what am I doing wrong for this not to work.. I'm using php 7.3 fast cgi.





here is my php config...

//


System Linux ds12122 4.14.117-grsec-grsec+ #1 SMP Sat May 11 00:40:24 UTC 2019 x86_64 
Build Date Jan 9 2020 23:49:05 
Configure Command './configure' '--prefix=/usr/local/php73' '--datadir=/usr/local/php73/share' '--localstatedir=/usr/local/php73/var' '--without-pear' '--with-config-file-path=/etc/php73' '--with-config-file-scan-dir=/etc/php73/conf.d' '--with-zend-vm=GOTO' '--enable-cgi' '--enable-fpm' '--enable-intl' '--enable-json' '--enable-libxml=shared' '--enable-bcmath=shared' '--enable-calendar=shared' '--enable-ctype=shared' '--enable-dom=shared' '--enable-exif=shared' '--enable-fileinfo=shared' '--enable-filter=shared' '--enable-ftp=shared' '--enable-hash' '--enable-mbstring' '--enable-mbregex' '--enable-mbregex-backtrack' '--enable-opcache' '--enable-pcntl=shared' '--enable-pdo' '--enable-phar=shared' '--enable-posix=shared' '--enable-session=shared' '--enable-shmop=shared' '--enable-simplexml=shared' '--enable-soap=shared' '--enable-sockets=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-tokenizer=shared' '--enable-wddx=shared' '--enable-xml=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-zip=shared' '--with-openssl=shared' '--with-kerberos' '--with-pcre-regex' '--with-sqlite3' '--with-zlib=shared' '--with-bz2=shared' '--with-curl=shared' '--with-gd=shared' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-xpm-dir=/usr' '--with-freetype-dir=/usr' '--with-gettext=shared' '--with-gmp=shared' '--with-mhash=shared' '--with-iconv=shared' '--with-imap=shared' '--with-imap-ssl' '--with-mysql-sock=/No-MySQL-hostname-was-specified' '--with-mysqli=shared,mysqlnd' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-pgsql=shared' '--with-pdo-sqlite' '--with-pgsql=shared' '--with-pspell=shared' '--with-readline=shared' '--with-tidy=shared' '--with-xmlrpc=shared' '--with-xsl=shared' '--with-sodium' '--with-password-argon2=/usr' 
Server API CGI/FastCGI 
Virtual Directory Support disabled 
Configuration File (php.ini) Path/etc/php73 
Loaded Configuration File/etc/php73/php.ini 
Scan this dir for additional .ini files/etc/php73/conf.d 
Additional .ini files parsed/etc/php73/conf.d/imagick.ini, /etc/php73/conf.d/memcached.ini, /home/villageshaman/.php/7.3/phprc
PHP API20180731 
PHP Extension20180731 
Zend Extension320180731 
Zend Extension BuildAPI320180731,NTS 
PHP Extension BuildAPI20180731,NTS 
Debug Buildno 
Thread Safetydisabled 
Zend Signal Handlingenabled 
Zend Memory Managerenabled 
Zend Multibyte Supportprovided by mbstring 
IPv6 Supportenabled 
DTrace Supportdisabled 
Registered PHP Streamsphp, file, glob, data, http, ftp, compress.bzip2, https, ftps, compress.zlib, zip, phar
Registered Stream Socket Transportstcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filtersstring.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, zlib.*
Zend logoThis program makes use of the Zend Scripting Language Engine:Zend Engine v3.3.12, Copyright (c) 1998-2018 Zend Technologies

Configuration

bcmath

BCMath supportenabled 

DirectiveLocal ValueMaster Value

bcmath.scale00

bz2

BZip2 SupportEnabled 
Stream Wrapper supportcompress.bzip2:// 
Stream Filter supportbzip2.decompress, bzip2.compress 
BZip2 Version1.0.6, 6-Sept-2010 

calendar

Calendar supportenabled 

cgi-fcgi

DirectiveLocal ValueMaster Value

cgi.check_shebang_line11
cgi.discard_path00
cgi.fix_pathinfo11
cgi.force_redirect11
cgi.nph00
cgi.redirect_status_envno valueno value
cgi.rfc2616_headers00
fastcgi.logging11

Core

PHP Version7.3.12 

DirectiveLocal ValueMaster Value

allow_url_fopenOnOn
allow_url_includeOffOff
arg_separator.input&&
arg_separator.output&&
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetUTF-8UTF-8
default_mimetypetext/htmltext/html
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOffOff
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
enable_post_data_readingOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting2251922519
expose_phpOffOff
extension_dir/usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731
file_uploadsOnOn
hard_timeout22
highlight.comment
highlight.default#0000BB#0000BB
highlight.html#000000#000000
highlight.keyword#007700#007700
highlight.string
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:.:
input_encodingno valueno value
internal_encodingno valueno value
log_errorsOnOn
log_errors_max_len10241024
mail.add_x_headerOnOn
mail.force_extra_parametersno valueno value
mail.logno valueno value
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time-1-1
max_input_vars10001000
memory_limit2048M2048M
open_basedirno valueno value
output_buffering00
output_encodingno valueno value
output_handlerno valueno value
post_max_size1200M1200M
precision1414
realpath_cache_size128k128k
realpath_cache_ttl300300
register_argc_argvOffOff
report_memleaksOnOn
report_zend_debugOnOn
request_orderno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i
serialize_precision-1-1
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sys_temp_dirno valueno value
syslog.facilityLOG_USERLOG_USER
syslog.filterno-ctrlno-ctrl
syslog.identphpphp
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize512M512M
upload_tmp_dirno valueno value
user_dirno valueno value
user_ini.cache_ttl300300
user_ini.filename.user.ini.user.ini
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
zend.assertions11
zend.detect_unicodeOnOn
zend.enable_gcOnOn
zend.multibyteOffOff
zend.script_encodingno valueno value
zend.signal_checkOffOff

ctype

ctype functionsenabled 

curl

cURL supportenabled 
cURL Information7.58.0 
Age
Features 
AsynchDNSYes 
CharConvNo 
DebugNo 
GSS-NegotiateNo 
IDNYes 
IPv6Yes 
krb4No 
LargefileYes 
libzYes 
NTLMYes 
NTLMWBYes 
SPNEGOYes 
SSLYes 
SSPINo 
TLS-SRPYes 
HTTP2Yes 
GSSAPIYes 
KERBEROS5Yes 
UNIX_SOCKETSYes 
PSLYes 
HTTPS_PROXYYes 
MULTI_SSLNo 
BROTLINo 
Protocolsdict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, smb, smbs, smtp, smtps, telnet, tftp 
Hostx86_64-pc-linux-gnu 
SSL VersionOpenSSL/1.1.1 
ZLib Version1.2.11 

DirectiveLocal ValueMaster Value

curl.cainfono valueno value

date

date/time supportenabled 
timelib version2018.03 
"Olson" Timezone Database Version2019.3 
Timezone Databaseinternal 
Default timezoneAmerica/Los_Angeles 

DirectiveLocal ValueMaster Value

date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333
date.timezoneAmerica/Los_AngelesAmerica/Los_Angeles

dom

DOM/XMLenabled 
DOM/XML API Version20031129 
libxml Version2.9.4 
HTML Supportenabled 
XPath Supportenabled 
XPointer Supportenabled 
Schema Supportenabled 
RelaxNG Supportenabled 

exif

EXIF Supportenabled 
Supported EXIF Version0220 
Supported filetypesJPEG, TIFF 
Multibyte decoding support using mbstringenabled 
Extended EXIF tag formatsCanon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson 

DirectiveLocal ValueMaster Value

exif.decode_jis_intelJISJIS
exif.decode_jis_motorolaJISJIS
exif.decode_unicode_intelUCS-2LEUCS-2LE
exif.decode_unicode_motorolaUCS-2BEUCS-2BE
exif.encode_jisno valueno value
exif.encode_unicodeISO-8859-15ISO-8859-15

fileinfo

fileinfo supportenabled 
libmagic533 

filter

Input Validation and Filteringenabled 

DirectiveLocal ValueMaster Value

filter.defaultunsafe_rawunsafe_raw
filter.default_flagsno valueno value

ftp

FTP supportenabled 
FTPS supportenabled 

gd

GD Supportenabled 
GD Versionbundled (2.1.0 compatible) 
FreeType Supportenabled 
FreeType Linkagewith freetype 
FreeType Version2.8.1 
GIF Read Supportenabled 
GIF Create Supportenabled 
JPEG Supportenabled 
libJPEG Version
PNG Supportenabled 
libPNG Version1.6.34 
WBMP Supportenabled 
XPM Supportenabled 
libXpm Version30411 
XBM Supportenabled 

DirectiveLocal ValueMaster Value

gd.jpeg_ignore_warning11

gettext

GetText Supportenabled 

hash

hash supportenabled 
Hashing Enginesmd2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 
MHASH supportEnabled 
MHASH API VersionEmulated Support 

iconv

iconv supportenabled 
iconv implementationglibc 
iconv library version2.27 

DirectiveLocal ValueMaster Value

iconv.input_encodingno valueno value
iconv.internal_encodingno valueno value
iconv.output_encodingno valueno value

imagick

imagick moduleenabled

imagick module version3.4.3RC1 
imagick classesImagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel 
Imagick compiled with ImageMagick versionImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org 
Imagick using ImageMagick library versionImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org 
ImageMagick copyright© 1999-2017 ImageMagick Studio LLC 
ImageMagick release date20170114 
ImageMagick number of supported formats:230 
ImageMagick supported formats3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV 

DirectiveLocal ValueMaster Value

imagick.locale_fix00
imagick.progress_monitor00
imagick.skip_version_check00

imap

IMAP c-Client Version2007f 
SSL Supportenabled 
Kerberos Supportenabled 

DirectiveLocal ValueMaster Value

imap.enable_insecure_rshOffOff

intl

Internationalization supportenabled

ICU version60.2 
ICU Data version60.2 
ICU TZData version2017c 
ICU Unicode version10.0 

DirectiveLocal ValueMaster Value

intl.default_localeno valueno value
intl.error_level00
intl.use_exceptions00

json

json supportenabled 
json version1.7.0 

libxml

libXML supportactive 
libXML Compiled Version2.9.4 
libXML Loaded Version20904 
libXML streamsenabled 

mbstring

Multibyte Supportenabled 
Multibyte string enginelibmbfl 
HTTP input encoding translationdisabled 
libmbfl version1.3.2 
oniguruma version6.9.3 

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex supportenabled 
Multibyte regex (oniguruma) backtrack checkOn 
Multibyte regex (oniguruma) version6.9.3 

DirectiveLocal ValueMaster Value

mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputno valueno value
mbstring.http_outputno valueno value
mbstring.http_output_conv_mimetypes^(text/|application/xhtml\+xml)^(text/|application/xhtml\+xml)
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.regex_stack_limit100000100000
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value

memcached

memcached supportenabled

Version3.0.4 
libmemcached version1.0.18 
SASL supportno 
Session supportyes 
igbinary supportno 
json supportno 
msgpack supportno 

DirectiveLocal ValueMaster Value

memcached.compression_factor1.31.3
memcached.compression_threshold20002000
memcached.compression_typefastlzfastlz
memcached.default_binary_protocol00
memcached.default_connect_timeout00
memcached.default_consistent_hash00
memcached.serializerphpphp
memcached.sess_binary_protocol11
memcached.sess_connect_timeout00
memcached.sess_consistent_hash11
memcached.sess_lock_expire00
memcached.sess_lock_max_waitnot setnot set
memcached.sess_lock_retries55
memcached.sess_lock_waitnot setnot set
memcached.sess_lock_wait_max20002000
memcached.sess_lock_wait_min10001000
memcached.sess_locking11
memcached.sess_number_of_replicas00
memcached.sess_persistent00
memcached.sess_prefixmemc.sess.memc.sess.
memcached.sess_randomize_replica_read00
memcached.sess_remove_failed_servers00
memcached.sess_sasl_passwordno valueno value
memcached.sess_sasl_usernameno valueno value
memcached.sess_server_failure_limit00
memcached.store_retry_count22

mysqli

MysqlI Supportenabled

Client API library versionmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ 
Active Persistent Links
Inactive Persistent Links
Active Links

DirectiveLocal ValueMaster Value

mysqli.allow_local_infileOffOff
mysqli.allow_persistentOnOn
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socket/No-MySQL-hostname-was-specified/No-MySQL-hostname-was-specified
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.max_persistentUnlimitedUnlimited
mysqli.reconnectOffOff
mysqli.rollback_on_cached_plinkOffOff

mysqlnd

mysqlndenabled

Versionmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ 
Compressionsupported 
core SSLsupported 
extended SSLsupported 
Command buffer size4096 
Read buffer size32768 
Read timeout86400 
Collecting statisticsYes 
Collecting memory statisticsNo 
Tracingn/a 
Loaded pluginsmysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password 
API Extensionspdo_mysql,mysqli 

mysqlnd statistics

bytes_sent1398611
bytes_received6948475 
packets_sent18724 
packets_received97383 
protocol_overhead_in 389532 
protocol_overhead_out74896 
bytes_received_ok_packet
bytes_received_eof_packet
bytes_received_rset_header_packet77922 
bytes_received_rset_field_meta_packet
bytes_received_rset_row_packet66653 
bytes_received_prepare_response_packet4854944 
bytes_received_change_user_packet1904803
packets_sent_command9361 
packets_received_ok
packets_received_eof
packets_received_rset_header8658 
packets_received_rset_field_meta
packets_received_rset_row9291 
packets_received_prepare_response57470 
packets_received_change_user21892 
result_set_queries8658 
non_result_set_queries633 
no_index_used331 
bad_index_used
slow_queries
buffered_sets8658 
unbuffered_sets
ps_buffered_sets
ps_unbuffered_sets
flushed_normal_sets
flushed_ps_sets
ps_prepared_never_executed
ps_prepared_once_executed
rows_fetched_from_server_normal13234 
rows_fetched_from_server_ps
rows_buffered_from_client_normal13234 
rows_buffered_from_client_ps
rows_fetched_from_client_normal_buffered13234 
rows_fetched_from_client_normal_unbuffered
rows_fetched_from_client_ps_buffered
rows_fetched_from_client_ps_unbuffered
rows_fetched_from_client_ps_cursor
rows_affected_normal306 
rows_affected_ps
rows_skipped_normal13234 
rows_skipped_ps
copy_on_write_saved
copy_on_write_performed
command_buffer_too_small
connect_success
connect_failure
connection_reused
reconnect
pconnect_success
active_connections
active_persistent_connections
explicit_close
implicit_close
disconnect_close
in_middle_of_command_close
explicit_free_result8658 
implicit_free_result
explicit_stmt_close
implicit_stmt_close
mem_emalloc_count
mem_emalloc_amount
mem_ecalloc_count
mem_ecalloc_amount
mem_erealloc_count
mem_erealloc_amount
mem_efree_count
mem_efree_amount
mem_malloc_count
mem_malloc_amount
mem_calloc_count 
mem_calloc_amount
mem_realloc_count
mem_realloc_amount
mem_free_count 
mem_free_amount
mem_estrndup_count
mem_strndup_count
mem_estrdup_count
mem_strdup_count
mem_edupl_count
mem_dupl_count
proto_text_fetched_null
proto_text_fetched_bit
proto_text_fetched_tinyint4615 
proto_text_fetched_short
proto_text_fetched_int24
proto_text_fetched_int37451 
proto_text_fetched_bigint4306 
proto_text_fetched_decimal10 
proto_text_fetched_float856 
proto_text_fetched_double
proto_text_fetched_date270 
proto_text_fetched_year
proto_text_fetched_time
proto_text_fetched_datetime598 
proto_text_fetched_timestamp
proto_text_fetched_string47596 
proto_text_fetched_blob
proto_text_fetched_enum10851 
proto_text_fetched_set
proto_text_fetched_geometry
proto_text_fetched_other
proto_binary_fetched_null
proto_binary_fetched_bit
proto_binary_fetched_tinyint
proto_binary_fetched_short
proto_binary_fetched_int24
proto_binary_fetched_int
proto_binary_fetched_bigint
proto_binary_fetched_decimal
proto_binary_fetched_float
proto_binary_fetched_double
proto_binary_fetched_date
proto_binary_fetched_year
proto_binary_fetched_time
proto_binary_fetched_datetime
proto_binary_fetched_timestamp
proto_binary_fetched_string
proto_binary_fetched_json
proto_binary_fetched_blob
proto_binary_fetched_enum
proto_binary_fetched_set
proto_binary_fetched_geometry
proto_binary_fetched_other
init_command_executed_count 
init_command_failed_count 
com_quit 
com_init_db 
com_query 9291 
com_field_list
com_create_db 
com_drop_db 
com_refresh 
com_shutdown 
com_statistics
com_process_info
com_connect
com_process_kill
com_debug 
com_ping 70 
com_time 
com_delayed_insert
com_change_user
com_binlog_dump
com_table_dump 
com_connect_out 
com_register_slave 
com_stmt_prepare
com_stmt_execute
com_stmt_send_long_data
com_stmt_close 
com_stmt_reset 
com_stmt_set_option 
com_stmt_fetch
com_deamon
bytes_received_real_data_normal 1708904
bytes_received_real_data_ps 

openssl

OpenSSL supportenabled 
OpenSSL Library Version OpenSSL 1.1.1 11 Sep 2018 
OpenSSL Header Version OpenSSL 1.1.0g 2 Nov 2017 
Openssl default config /usr/lib/ssl/openssl.cnf 

DirectiveLocal ValueMaster Value

openssl.cafileno valueno value
openssl.capathno valueno value

pcntl

pcntl supportenabled

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled 
PCRE Library Version 10.32 2018-09-10 
PCRE Unicode Version11.0.0 
PCRE JIT Support enabled 
PCRE JIT Target x86 64bit (little endian + unaligned) 

DirectiveLocal ValueMaster Value

pcre.backtrack_limit10000001000000
pcre.jit00
pcre.recursion_limit100000100000

PDO

PDO supportenabled

PDO drivers sqlite, mysql 

pdo_mysql

PDO Driver for MySQLenabled

Client API version mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ 

DirectiveLocal ValueMaster Value

pdo_mysql.default_socket/No-MySQL-hostname-was-specified/No-MySQL-hostname-was-specified

pdo_sqlite

PDO Driver for SQLite 3.xenabled

SQLite Library 3.28.0 

Phar

Phar: PHP Archive supportenabled

Phar API version 1.1.1 
Phar-based phar archives enabled 
Tar-based phar archives enabled 
ZIP-based phar archivesenabled 
gzip compressionenabled 
bzip2 compressionenabled 
OpenSSL supportenabled 
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

DirectiveLocal ValueMaster Value

phar.cache_listno valueno value
phar.readonlyOnOn
phar.require_hashOnOn

posix

POSIX support enabled 

pspell

PSpell Supportenabled 

Reflection

Reflection enabled 

session

Session Supportenabled 
Registered save handlersfiles user memcached 
Registered serializer handlersphp_serialize php php_binary 

DirectiveLocal ValueMaster Value

session.auto_startOffOff
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_httponly00
session.cookie_lifetime00
session.cookie_path//
session.cookie_samesiteno valueno value
session.cookie_secure00
session.gc_divisor10001000
session.gc_maxlifetime14401440
session.gc_probability11
session.lazy_writeOnOn
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/tmp/tmp
session.serialize_handlerphpphp
session.sid_bits_per_character44
session.sid_length3232
session.upload_progress.cleanupOnOn
session.upload_progress.enabledOnOn
session.upload_progress.freq1%1%
session.upload_progress.min_freq11
session.upload_progress.namePHP_SESSION_UPLOAD_PROGRESSPHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefixupload_progress_upload_progress_
session.use_cookies11
session.use_only_cookies11
session.use_strict_mode00
session.use_trans_sid00

SimpleXML

SimpleXML support enabled 
Schema supportenabled 

soap

Soap Clientenabled 
Soap Server enabled 

DirectiveLocal ValueMaster Value

soap.wsdl_cache11
soap.wsdl_cache_dir/tmp/tmp
soap.wsdl_cache_enabled11
soap.wsdl_cache_limit55
soap.wsdl_cache_ttl8640086400

sockets

Sockets Supportenabled 

sodium

sodium supportenabled

libsodium headers version1.0.16 
libsodium library version1.0.16 

SPL

SPL supportenabled

InterfacesOuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject 
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException 

sqlite3

SQLite3 supportenabled

SQLite Library 3.28.0 

DirectiveLocal ValueMaster Value

sqlite3.defensive11
sqlite3.extension_dirno valueno value

standard

Dynamic Library Supportenabled 
Path to sendmail/usr/sbin/sendmail -t -i 

DirectiveLocal ValueMaster Value

assert.active11
assert.bail00
assert.callbackno valueno value
assert.exception00
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
fromno valueno value
session.trans_sid_hostsno valueno value
session.trans_sid_tagsa=href,area=href,frame=src,form=a=href,area=href,frame=src,form=
url_rewriter.hostsno valueno value
url_rewriter.tagsform=form=
user_agentno valueno value

tokenizer

Tokenizer Support enabled 

xml

XML Supportactive 
XML Namespace Support active 
libxml2 Version 2.9.4 

xmlreader

XMLReaderenabled 

xmlrpc

core library version xmlrpc-epi v. 0.51 
author Dan Libby 
homepagehttp://xmlrpc-epi.sourceforge.net 
open sourced byEpinions.com 

xmlwriter

XMLWriter enabled 

xsl

XSLenabled 
libxslt Version1.1.29 
libxslt compiled against libxml Version2.9.4 
EXSLTenabled 
libexslt Version1.1.29 

zip

Zip enabled 
Zip version 1.15.4 
Libzip version 1.1.2 

zlib

ZLib Supportenabled

Stream Wrappercompress.zlib:// 
Stream Filterzlib.inflate, zlib.deflate 
Compiled Version1.2.11 
Linked Version1.2.11 

DirectiveLocal ValueMaster Value

zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name

Environment

VariableValue

PATH /usr/local/bin:/usr/bin:/bin 

PHP Variables

VariableValue

$_REQUEST['memberSession']Ztckzw=qL=p2hCMVpDSgVLifHsrh&R5&
$_REQUEST['homepage-tour-hidden']1
$_REQUEST['memberID']1
$_REQUEST['memberPassword']06d951f83556e8f114ecd7fb259ee1808dc2626e
$_REQUEST['devicePixelRatio']2
$_COOKIE['memberSession']Ztckzw=qL=p2hCMVpDSgVLifHsrh&R5&
$_COOKIE['homepage-tour-hidden']1
$_COOKIE['memberID']1
$_COOKIE['memberPassword']06d951f83556e8f114ecd7fb259ee1808dc2626e
$_COOKIE['devicePixelRatio']2
$_SERVER['PATH']/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
$_SERVER['CONTENT_LENGTH']0
$_SERVER['SCRIPT_NAME']/php.php
$_SERVER['REQUEST_URI']/php.php
$_SERVER['QUERY_STRING']no value
$_SERVER['REQUEST_METHOD']GET
$_SERVER['SERVER_PROTOCOL']HTTP/1.1
$_SERVER['GATEWAY_INTERFACE']CGI/1.1
$_SERVER['REMOTE_PORT']1801
$_SERVER['SCRIPT_FILENAME']/home/villageshaman/www.mytribes.net/public/php.php
$_SERVER['SERVER_ADMIN']webmaster@mytribes.net
$_SERVER['CONTEXT_DOCUMENT_ROOT']/home/villageshaman/www.mytribes.net/public
$_SERVER['CONTEXT_PREFIX']no value
$_SERVER['REQUEST_SCHEME']https
$_SERVER['DOCUMENT_ROOT']/home/villageshaman/www.mytribes.net/public
$_SERVER['REMOTE_ADDR']104.238.46.124
$_SERVER['SERVER_PORT']443
$_SERVER['SERVER_ADDR']208.97.136.76
$_SERVER['SERVER_NAME']www.mytribes.net
$_SERVER['SERVER_SOFTWARE']Apache
$_SERVER['SERVER_SIGNATURE']no value
$_SERVER['HTTP_CONNECTION']close
$_SERVER['HTTP_ACCEPT_ENCODING']gzip, deflate
$_SERVER['HTTP_ACCEPT_LANGUAGE']en-us
$_SERVER['HTTP_USER_AGENT']Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
$_SERVER['HTTP_COOKIE']memberSession=Ztckzw%3DqL%3Dp2hCMVpDSgVLifHsrh%26R5%26; homepage-tour-hidden=1; memberID=1; memberPassword=06d951f83556e8f114ecd7fb259ee1808dc2626e; devicePixelRatio=2
$_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS']1
$_SERVER['HTTP_ACCEPT']text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$_SERVER['HTTP_HOST']www.mytribes.net
$_SERVER['SSL_TLS_SNI']www.mytribes.net
$_SERVER['HTTPS']on
$_SERVER['DH_USER']villageshaman
$_SERVER['ds_id_40197840']no value
$_SERVER['dsid']40197840
$_SERVER['SCRIPT_URI']https://www.mytribes.net/php.php
$_SERVER['SCRIPT_URL']/php.php
$_SERVER['UNIQUE_ID']Xp2XdUHR-Ptsbmjmxn7aigAAAA8
$_SERVER['FCGI_ROLE']RESPONDER
$_SERVER['PHP_SELF']/php.php
$_SERVER['REQUEST_TIME_FLOAT']1587386229.1021
$_SERVER['REQUEST_TIME']1587386229
$_ENV['PATH']/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
$_ENV['CONTENT_LENGTH']0
$_ENV['SCRIPT_NAME']/php.php
$_ENV['REQUEST_URI']/php.php
$_ENV['QUERY_STRING']no value
$_ENV['REQUEST_METHOD']GET
$_ENV['SERVER_PROTOCOL']HTTP/1.1
$_ENV['GATEWAY_INTERFACE']CGI/1.1
$_ENV['REMOTE_PORT']1801
$_ENV['SCRIPT_FILENAME']/home/villageshaman/www.mytribes.net/public/php.php
$_ENV['SERVER_ADMIN']webmaster@mytribes.net
$_ENV['CONTEXT_DOCUMENT_ROOT']/home/villageshaman/www.mytribes.net/public
$_ENV['CONTEXT_PREFIX']no value
$_ENV['REQUEST_SCHEME']https
$_ENV['DOCUMENT_ROOT']/home/villageshaman/www.mytribes.net/public
$_ENV['REMOTE_ADDR']104.238.46.124
$_ENV['SERVER_PORT']443
$_ENV['SERVER_ADDR']208.97.136.76
$_ENV['SERVER_NAME']www.mytribes.net
$_ENV['SERVER_SOFTWARE']Apache
$_ENV['SERVER_SIGNATURE']no value
$_ENV['HTTP_CONNECTION']close
$_ENV['HTTP_ACCEPT_ENCODING']gzip, deflate
$_ENV['HTTP_ACCEPT_LANGUAGE']en-us
$_ENV['HTTP_USER_AGENT']Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
$_ENV['HTTP_COOKIE']memberSession=Ztckzw%3DqL%3Dp2hCMVpDSgVLifHsrh%26R5%26; homepage-tour-hidden=1; memberID=1; memberPassword=06d951f83556e8f114ecd7fb259ee1808dc2626e; devicePixelRatio=2
$_ENV['HTTP_UPGRADE_INSECURE_REQUESTS']1
$_ENV['HTTP_ACCEPT']text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$_ENV['HTTP_HOST']www.mytribes.net
$_ENV['SSL_TLS_SNI']www.mytribes.net
$_ENV['HTTPS']on
$_ENV['DH_USER']villageshaman
$_ENV['ds_id_40197840']no value
$_ENV['dsid']40197840
$_ENV['SCRIPT_URI']https://www.mytribes.net/php.php
$_ENV['SCRIPT_URL']/php.php
$_ENV['UNIQUE_ID']Xp2XdUHR-Ptsbmjmxn7aigAAAA8
$_ENV['FCGI_ROLE']RESPONDER
💓 0 😆 0 😲 0 😥 0 😠 0 0
Attachments
Replies (11)
    • I remember having the same kind of problem a long time ago, take a look here at the solution I had found.

      •  while we're here i checking logs, and bx_profiler has some very long opens.. longest one was 53 seconds!  but one thing at a time..

        image_transcoder.php?o=bx_froala_image&h=3439&dpx=2&t=1587442436

        • i will look now and then edit my comment to reflect.  thank you Baloo  :)


          ok!  after changing max_execution_time from 30 to 480, now i have this happen.


          video transcodes, (i watched the sql database move through the 4 entries in real time..)

          30seconds was set previous, which prevented the que from even showing up when cron was run..   


          okay so now that cron hooks the transcoder correctly, this is next problem:


          video shows as attachment, but will not insert into post..

          will try to change default quality to hd in dev module, from sd


          image_transcoder.php?o=bx_froala_image&h=3440&dpx=2&t=1587445127


          update 10 minutes or so later:  video quality changed to hd from sd...

          watching transcoder que.... it's now running through videos from bx_messenger...

          I assume there have been a whole backlog of videos that have been back-logged and trying to run every time the site is used or webserver is rebooted, and this has been causing the long page opens as well...


          perhaps in about an hour or three all old videos will be processed and i will find a transcoder que blank :)


          tried to upload 148meg test video just now that anton had requested, and also i will note that i changed my ffmpeg to the latest x64 nightly...

          ONE WEIRD THING... I had to take the linux binary and add .exe onto the end ....  for una's script to detect it as executable.. consider changing this, it's confusing and non standard unix/ gnu/linux behavior... not a standard convention whatsoever.


          hmm.  yup, any video over a certain size is killing php and php has been allocated plenty of memory. and by plenty i mean it can spawn into 3 gb if it feels a need to...

          pattern is this: it launches 4 workers, 41m physical, 450m virtual, and a few minutes later it dies.  and then cron emails me about it.  however, it's really strange - it's emailing me the flags for 94 megs and 64 megs, even though

          /etc/php.ini has been adjusted

          /home/siteuserForUna/.php/phprc has been adjusted.....

          this is very peculiar.....


          • Baloo, you're a genius !  Merci Merci Merci!

             it finally works.   :D  (96 hours later..) 😁

            • Very special problem indeed, glad I could help you ;-)

              • Baloo is no joke 

                  • you have probably no idea how many people are going to be absolutely thrilled to hear of this.  maybe you do.  :)   i get asked about 2-3x a week about this in the last 6 months by people :)

                    thank you again.

                    • saved the day.   :)


                      • o you have yours fixed?? What fixed it. Mine still doing the same.

                        • James Zandreiatti -  yes, its fixed.  I just saw this.   There were a few main pinch points.  You said you're using a shared ? or are you using a VPS? or is your server dedicated?

                          1. I had to tweak memory limits in php, at the main level of the system wide php, because the phprc was not being respected for the user level.  (this is a config issue with different versions of php running domains as virtual hosts..)  not an una problem.
                          2. also, i had to add this ini_set flag inside /inc/utils.inc.php that baloo had pointed out, which limits the total amount of concurrent memory una is allowed to lock for transcoding purposes.  I've set it to roughly 3x the size of my max upload size, but I feel I can reign this in to 2.2x, just have not tested out that configuration yet to validate it.
                          3. also, it was necessary to set a max_execution_time =  flag in the php config.  i set mine to 500 seconds.
                          4. also, i had to clear the mysql table for the transcoder, and clear the una cache.
                          5. also, it works much better running APC for cache, versus file cache.  if you know that you have a version of php in the 7 series as your version of php, you should have APC configured already by default, in the webserver, without having to turn anything on...

                          i have dedicated server access, if you have the ability to ssh , these are things you can check into, but if you are on a vps you may or may not have the permissions to change them, if you are on shared, then you will have to email your webhost about making these changes for you, because they could have disasterous effects on the rest of the users websites that run on the same box as yours.

                          Not logged in users can't 'Comments Post'.
                          Omar Amer
                          •  ·  Standard
                          • 2143 views
                          I do stuff and things in time-space..I make art by living life.  "Everything you do is art. do it with care, attention, dedication and focus."Oh! If y…
                          8
                          1
                          1
                          2