Skocz do zawartości
ebinx

Stara, nieaktualizowana konfiguracja?

Polecane posty

Witam,

 

Krótko - Bardzo proszę zobaczcie poniżej na wynik phpinfo i powiedzcie, co nie pasuje, czy Waszym zdaniem to aktualna konfiguracja, czy coś wymaga updajtu.

 

Szerzej - Od pewnego czasu mam problem ze stroną (wordpress) leżącą na serwerze do którego mam dostęp wyłącznie po ftp. Strona generuje ruch na poziomie ~5000 sesji/mc i jakieś 15000 odsłon/pageviews i ładuje się bardzo wolno, często dochodzi do timeoutów i info, ze serwer nie odpowiada.

 

Odnoszę wrażenie, że konfiguracja serwera jest generalnie nieaktualizowana gdzieś od 2012 roku:

- stara wersja php - PHP 5.3.28,

- stry mysql - mysqlnd 5.0.8

- mod_php (Apache 2.0 Handler) zamiast php-fpm.

- krótki max_execution_time 30 sek

- suhoshin (?w 2017r?)

- Zend Engine v2.3.0 (stara wersja z 2012 r.)

 

Czy taką konfigurację należy zaktualizować? (pełne phpinfo wklejam poniżej)

 

 

Ot co wypluwa phpinfo:

 

PHP Version 5.3.28-0+tld2
System Linux 60949.v.tld.pl 4.1.39.core2.97 #1 SMP Thu Apr 13 15:42:57 CEST 2017 x86_64
Build Date Jan 30 2014 15:58:50
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
Additional .ini files parsed /etc/php5/apache2/conf.d/000_global.ini, /etc/php5/apache2/conf.d/500_curl.ini, /etc/php5/apache2/conf.d/500_dio.ini, /etc/php5/apache2/conf.d/500_eaccelerator.ini, /etc/php5/apache2/conf.d/500_gd.ini, /etc/php5/apache2/conf.d/500_imagick.ini, /etc/php5/apache2/conf.d/500_imap.ini, /etc/php5/apache2/conf.d/500_ioncube.ini, /etc/php5/apache2/conf.d/500_mcrypt.ini, /etc/php5/apache2/conf.d/500_memcache.ini, /etc/php5/apache2/conf.d/500_mysql.ini, /etc/php5/apache2/conf.d/500_mysqli.ini, /etc/php5/apache2/conf.d/500_odbc.ini, /etc/php5/apache2/conf.d/500_pdo_mysql.ini, /etc/php5/apache2/conf.d/500_pdo_odbc.ini, /etc/php5/apache2/conf.d/500_pdo_pgsql.ini, /etc/php5/apache2/conf.d/500_pgsql.ini, /etc/php5/apache2/conf.d/500_pspell.ini, /etc/php5/apache2/conf.d/500_sqlite.ini, /etc/php5/apache2/conf.d/500_suhosin.ini, /etc/php5/apache2/conf.d/500_tidy.ini, /etc/php5/apache2/conf.d/500_uploadprogress.ini, /etc/php5/apache2/conf.d/500_xmlrpc.ini, /etc/php5/apache2/conf.d/500_xsl.ini, /etc/php5/apache2/conf.d/500_zendoptimizer.ini, /etc/php5/apache2/conf.d/900_local.ini, /etc/php5/apache2/conf.d/910_phpver.ini, /etc/php5/apache2/conf.d/920_sapi.ini, /etc/php5/apache2/conf.d/999_local.ini
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, dio.raw, dio.serial
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*
This server is protected with the Suhosin Patch 0.9.10
Copyright © 2006-2007 Hardened-PHP Project Copyright © 2007-2012 SektionEins GmbH
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright © 1998-2013 Zend Technologies
with eAccelerator v1.0-dev, Copyright © 2004-2012 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.6.1, Copyright © 2002-2014, by ionCube Ltd.
with Suhosin v0.9.33, Copyright © 2007-2012, by SektionEins GmbH
Configuration
apache2handler
Apache Version Apache
Apache API Version 20051115
Server Administrator adresemail@domena.com
Hostname:Port domena.com:0
User/Group http(3349002)/3349002
Max Requests Per Child: 1 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server Yes
Server Root /etc/apache2
Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cern_meta mod_cgi mod_dir mod_env mod_expires mod_headers mod_include mod_mime mod_mime_magic mod_negotiation mod_php5 mod_proxy_html mod_rewrite mod_rpaf mod_setenv mod_setenvif mod_speling mod_ssl mod_status mod_tld_stat mod_vhost_alias
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
HTTP_HOST domena.com
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE en-GB,en;q=0.8,en-US;q=0.6,pl;q=0.4
HTTP_COOKIE zamazuje
HTTP_VIA 1.1 domena.com
HTTP_X_FORWARDED_FOR 193.106.228.154
HTTP_CONNECTION Keep-Alive
PATH /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache
SERVER_NAME domena.com
SERVER_ADDR IP serwera
SERVER_PORT 80
REMOTE_ADDR 193.106.228.154
DOCUMENT_ROOT /home/users/nazwa_usera/public_html/
SERVER_ADMIN webmaster@domena.com
SCRIPT_FILENAME /home/users/nazwa_usera/public_html/confinfo.php
REMOTE_PORT 45107
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /confinfo.php
SCRIPT_NAME /confinfo.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /confinfo.php HTTP/1.1
Host domena.com
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding gzip, deflate, sdch
Accept-Language en-GB,en;q=0.8,en-US;q=0.6,pl;q=0.4
Cookie zamazuje
Via 1.1 domena.com
X-Forwarded-For 193.106.228.154
Connection Keep-Alive
HTTP Response Headers
bcmath
BCMath support enabled
Directive Local Value Master Value
bcmath.scale 0 0
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bzip2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007
calendar
Calendar support enabled
Core
PHP Version 5.3.28-0+tld2
Directive Local Value Master Value
allow_call_time_pass_reference On On
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 /home/users/nazwa_usera/public_html/wordfence-waf.php no value
browscap /etc/php/browscap.ini /etc/php/browscap.ini
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 On On
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 22517 22517
exit_on_timeout Off Off
expose_php Off Off
extension_dir /usr/lib/php5/20090626 /usr/lib/php5/20090626
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors On On
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/home/lib:/home/lib/php:/home/lib/pear:/home/lib/php/pear:/home/conf/lib:/usr/share/fpdf:/usr/share/pear:/usr/share/php .:/home/lib:/home/lib/php:/home/lib/pear:/home/lib/php/pear:/home/conf/lib:/usr/share/fpdf:/usr/share/pear:/usr/share/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
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 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
max_input_vars 1000 1000
memory_limit 512M 512M
open_basedir no value no value
output_buffering 16384 16384
output_handler no value no value
post_max_size 64M 64M
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 On On
report_memleaks On On
report_zend_debug On On
request_order no value no value
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 /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
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 64M 64M
upload_tmp_dir /var/tmp /var/tmp
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.enable_gc On On
ctype
ctype functions enabled
curl
cURL support enabled
cURL Information 7.26.0
Age 3
Features
AsynchDNS No
Debug Yes
GSS-Negotiate Yes
IDN Yes
IPv6 Yes
Largefile Yes
NTLM Yes
SPNEGO No
SSL Yes
SSPI No
krb4 No
libz Yes
CharConv No
Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtmp, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Host x86_64-pc-linux-gnu
SSL Version OpenSSL/1.0.2d
ZLib Version 1.2.3.3
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Europe/Warsaw
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone Europe/Warsaw Europe/Warsaw
dba
DBA support enabled
Supported handlers cdb cdb_make db4 inifile flatfile
Directive Local Value Master Value
dba.default_handler flatfile flatfile
dio
dio support enabled
version 0.0.4RC4
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
eAccelerator
eAccelerator support enabled
Version 1.0-dev
Caching Enabled true
Optimizer Enabled false
Check mtime Enabled true
Memory Size 16,777,152 Bytes
Memory Available 7,416 Bytes
Memory Allocated 16,769,736 Bytes
Cached Scripts 304
Removed Scripts 0
Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /var/lib/php5 /var/lib/php5
eaccelerator.check_mtime 1 1
eaccelerator.debug 0 0
eaccelerator.enable 1 1
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.optimizer no value no value
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 16 16
eaccelerator.shm_ttl 0 0
ereg
Regex Library Bundled library enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id$
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
Directive Local Value Master Value
exif.decode_jis_intel JIS JIS
exif.decode_jis_motorola JIS JIS
exif.decode_unicode_intel UCS-2LE UCS-2LE
exif.decode_unicode_motorola UCS-2BE UCS-2BE
exif.encode_jis no value no value
exif.encode_unicode ISO-8859-15 ISO-8859-15
fileinfo
fileinfo support enabled
version 1.0.5-dev
filter
Input Validation and Filtering enabled
Revision $Id: 209a1c3c98c04a5474846e7bbe8ca72054ccfd4f $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
ftp
FTP support enabled
gd
GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.27
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0
gettext
GetText Support enabled
hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 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
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.7
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imagick
imagick module enabled
imagick module version 3.1.0RC2
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.4.6 2010-01-20 Q8 OpenMP http://www.imagemagick.org
ImageMagick copyright Copyright © 1999-2009 ImageMagick Studio LLC
ImageMagick release date 2010-01-20
ImageMagick number of supported formats: 196
ImageMagick supported formats A, AI, ART, ARW, AVI, AVS, B, BGR, BMP, BMP2, BMP3, BRF, BRG, C, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPS, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GBR, GIF, GIF87, GRADIENT, GRAY, GRB, HISTOGRAM, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAP, MAT, MATTE, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RBG, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV
Directive Local Value Master Value
imagick.locale_fix 0 0
imagick.progress_monitor 0 0
imap
IMAP c-Client Version 2007b
SSL Support enabled
Kerberos Support enabled
intl
Internationalization support enabled
version 1.1.0
ICU version 4.8.1.1
ICU Data version 4.8.1
Directive Local Value Master Value
intl.default_locale no value no value
intl.error_level 0 0
json
json support enabled
json version 1.2.1
libxml
libXML support active
libXML Compiled Version 2.6.32
libXML Loaded Version 20800
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
HTTP input encoding translation disabled
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 support enabled
Multibyte regex (oniguruma) backtrack check On
Multibyte regex (oniguruma) version 4.7.1
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
mcrypt
mcrypt support enabled
mcrypt_filter support enabled
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
memcache
memcache support enabled
Version 3.0.6
Revision $Revision: 310129 $
Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 32768 32768
memcache.compress_threshold 20000 20000
memcache.default_port 11211 11211
memcache.hash_function crc32 crc32
memcache.hash_strategy consistent consistent
memcache.lock_timeout 15 15
memcache.max_failover_attempts 20 20
memcache.protocol ascii ascii
memcache.redundancy 1 1
memcache.session_redundancy 2 2
mhash
MHASH support Enabled
MHASH API Version Emulated Support
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
Directive Local Value Master Value
mysql.allow_local_infile On On
mysql.allow_persistent Off Off
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port 3306 3306
mysql.default_socket /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock
mysql.default_user no value no value
mysql.max_links 50 50
mysql.max_persistent 50 50
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Client API library version mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Directive Local Value Master Value
mysqli.allow_local_infile On On
mysqli.allow_persistent On On
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock
mysqli.default_user no value no value
mysqli.max_links 50 50
mysqli.max_persistent Unlimited Unlimited
mysqli.reconnect Off Off
mysqlnd
mysqlnd enabled
Version mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
Compression supported
SSL supported
Command buffer size 4096
Read buffer size 32768
Read timeout 31536000
Collecting statistics Yes
Collecting memory statistics No
Tracing n/a
Client statistics
bytes_sent 7257
bytes_received 668139
packets_sent 162
packets_received 1384
protocol_overhead_in 5536
protocol_overhead_out 648
bytes_received_ok_packet 22
bytes_received_eof_packet 666
bytes_received_rset_header_packet 450
bytes_received_rset_field_meta_packet 12286
bytes_received_rset_row_packet 654263
bytes_received_prepare_response_packet 0
bytes_received_change_user_packet 0
packets_sent_command 80
packets_received_ok 2
packets_received_eof 74
packets_received_rset_header 77
packets_received_rset_field_meta 147
packets_received_rset_row 1083
packets_received_prepare_response 0
packets_received_change_user 0
result_set_queries 73
non_result_set_queries 4
no_index_used 10
bad_index_used 0
slow_queries 0
buffered_sets 73
unbuffered_sets 0
ps_buffered_sets 0
ps_unbuffered_sets 0
flushed_normal_sets 0
flushed_ps_sets 0
ps_prepared_never_executed 0
ps_prepared_once_executed 0
rows_fetched_from_server_normal 1010
rows_fetched_from_server_ps 0
rows_buffered_from_client_normal 1010
rows_buffered_from_client_ps 0
rows_fetched_from_client_normal_buffered 1010
rows_fetched_from_client_normal_unbuffered 0
rows_fetched_from_client_ps_buffered 0
rows_fetched_from_client_ps_unbuffered 0
rows_fetched_from_client_ps_cursor 0
rows_affected_normal 1
rows_affected_ps 0
rows_skipped_normal 1010
rows_skipped_ps 0
copy_on_write_saved 1026
copy_on_write_performed 1130
command_buffer_too_small 0
connect_success 1
connect_failure 0
connection_reused 0
reconnect 0
pconnect_success 0
active_connections 0
active_persistent_connections 0
explicit_close 1
implicit_close 0
disconnect_close 0
in_middle_of_command_close 0
explicit_free_result 73
implicit_free_result 0
explicit_stmt_close 0
implicit_stmt_close 0
mem_emalloc_count 0
mem_emalloc_amount 0
mem_ecalloc_count 0
mem_ecalloc_amount 0
mem_erealloc_count 0
mem_erealloc_amount 0
mem_efree_count 0
mem_efree_amount 0
mem_malloc_count 0
mem_malloc_amount 0
mem_calloc_count 0
mem_calloc_amount 0
mem_realloc_count 0
mem_realloc_amount 0
mem_free_count 0
mem_free_amount 0
mem_estrndup_count 0
mem_strndup_count 0
mem_estndup_count 0
mem_strdup_count 0
proto_text_fetched_null 0
proto_text_fetched_bit 0
proto_text_fetched_tinyint 0
proto_text_fetched_short 0
proto_text_fetched_int24 0
proto_text_fetched_int 1
proto_text_fetched_bigint 31
proto_text_fetched_decimal 0
proto_text_fetched_float 0
proto_text_fetched_double 1
proto_text_fetched_date 0
proto_text_fetched_year 0
proto_text_fetched_time 0
proto_text_fetched_datetime 1
proto_text_fetched_timestamp 0
proto_text_fetched_string 1095
proto_text_fetched_blob 1009
proto_text_fetched_enum 0
proto_text_fetched_set 0
proto_text_fetched_geometry 0
proto_text_fetched_other 0
proto_binary_fetched_null 0
proto_binary_fetched_bit 0
proto_binary_fetched_tinyint 0
proto_binary_fetched_short 0
proto_binary_fetched_int24 0
proto_binary_fetched_int 0
proto_binary_fetched_bigint 0
proto_binary_fetched_decimal 0
proto_binary_fetched_float 0
proto_binary_fetched_double 0
proto_binary_fetched_date 0
proto_binary_fetched_year 0
proto_binary_fetched_time 0
proto_binary_fetched_datetime 0
proto_binary_fetched_timestamp 0
proto_binary_fetched_string 0
proto_binary_fetched_blob 0
proto_binary_fetched_enum 0
proto_binary_fetched_set 0
proto_binary_fetched_geometry 0
proto_binary_fetched_other 0
init_command_executed_count 0
init_command_failed_count 0
com_quit 1
com_init_db 1
com_query 77
com_field_list 0
com_create_db 0
com_drop_db 0
com_refresh 0
com_shutdown 0
com_statistics 0
com_process_info 0
com_connect 0
com_process_kill 0
com_debug 0
com_ping 0
com_time 0
com_delayed_insert 0
com_change_user 0
com_binlog_dump 0
com_table_dump 0
com_connect_out 0
com_register_slave 0
com_stmt_prepare 0
com_stmt_execute 0
com_stmt_send_long_data 0
com_stmt_close 0
com_stmt_reset 0
com_stmt_set_option 1
com_stmt_fetch 0
com_deamon 0
bytes_received_real_data_normal 647620
bytes_received_real_data_ps 0
odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library unixODBC
ODBC_INCLUDE -I/usr/include
ODBC_LFLAGS -L/usr/lib
ODBC_LIBS -lodbc
Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_cursortype Static cursor Static cursor
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited
openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 0.9.8zg 11 Jun 2015
OpenSSL Header Version OpenSSL 0.9.8y 5 Feb 2013
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.32 2012-11-30
Directive Local Value Master Value
pcre.backtrack_limit 1000000 1000000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers mysql, odbc, pgsql, sqlite2
pdo_mysql
PDO Driver for MySQL enabled
Client API version mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
Directive Local Value Master Value
pdo_mysql.default_socket /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock
PDO_ODBC
PDO Driver for ODBC (unixODBC) enabled
ODBC Connection Pooling Enabled, strict matching
pdo_pgsql
PDO Driver for PostgreSQL enabled
PostgreSQL(libpq) Version 9.1.9
Module version 1.0.2
Revision $Id$
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 9.1.9
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent Off Off
pgsql.auto_reset_persistent On On
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links 50 50
pgsql.max_persistent 50 50
Phar
Phar: PHP Archive support enabled
Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Id: 21d763042eb5769ae0a09dc1118df2b5aae6fb33 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression enabled
OpenSSL support enabled
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 © 2003-2009 Tim Kientzle.
Directive Local Value Master Value
phar.cache_list no value no value
phar.readonly On On
phar.require_hash On On
posix
Revision $Id: 5a2da3946b96c5afbf3aff8db8a8681f8bedee85 $
pspell
PSpell Support enabled
Reflection
Reflection enabled
Version $Id: 4af6c4c676864b1c0bfa693845af0688645c37cf $
session
Session Support enabled
Registered save handlers files user memcache sqlite
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php5 /var/lib/php5
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0
shmop
shmop support enabled
SimpleXML
Simplexml support enabled
Revision $Id: 02ab7893b36d51e9c59da77d7e287eb3b35e1e32 $
Schema support enabled
soap
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id$
SQLite Library 2.8.17
SQLite Encoding iso8859
Directive Local Value Master Value
sqlite.assoc_case 0 0
standard
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
from no value no value
safe_mode_allowed_env_vars PHP_, HTTP_ PHP_, HTTP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
suhosin
Suhosin logo This server is protected with the Suhosin Extension 0.9.33
Copyright © 2006-2007 Hardened-PHP Project
Copyright © 2007-2012 SektionEins GmbH
Directive Local Value Master Value
suhosin.apc_bug_workaround Off Off
suhosin.cookie.checkraddr 0 0
suhosin.cookie.cryptdocroot On On
suhosin.cookie.cryptkey [ protected ] [ protected ]
suhosin.cookie.cryptlist no value no value
suhosin.cookie.cryptraddr 0 0
suhosin.cookie.cryptua On On
suhosin.cookie.disallow_nul 1 1
suhosin.cookie.disallow_ws 1 1
suhosin.cookie.encrypt Off Off
suhosin.cookie.max_array_depth 50 50
suhosin.cookie.max_array_index_length 64 64
suhosin.cookie.max_name_length 64 64
suhosin.cookie.max_totalname_length 256 256
suhosin.cookie.max_value_length 10000 10000
suhosin.cookie.max_vars 100 100
suhosin.cookie.plainlist no value no value
suhosin.coredump Off Off
suhosin.disable.display_errors Off Off
suhosin.executor.allow_symlink Off Off
suhosin.executor.disable_emodifier Off Off
suhosin.executor.disable_eval Off Off
suhosin.executor.eval.blacklist no value no value
suhosin.executor.eval.whitelist no value no value
suhosin.executor.func.blacklist no value no value
suhosin.executor.func.whitelist no value no value
suhosin.executor.include.allow_writable_files On On
suhosin.executor.include.blacklist no value no value
suhosin.executor.include.max_traversal 0 0
suhosin.executor.include.whitelist no value no value
suhosin.executor.max_depth 0 0
suhosin.filter.action no value no value
suhosin.get.disallow_nul 1 1
suhosin.get.disallow_ws 0 0
suhosin.get.max_array_depth 0 0
suhosin.get.max_array_index_length 0 0
suhosin.get.max_name_length 0 0
suhosin.get.max_totalname_length 0 0
suhosin.get.max_value_length 0 0
suhosin.get.max_vars 0 0
suhosin.log.file 0 0
suhosin.log.file.name no value no value
suhosin.log.phpscript 0 0
suhosin.log.phpscript.is_safe Off Off
suhosin.log.phpscript.name no value no value
suhosin.log.sapi 0 0
suhosin.log.script 0 0
suhosin.log.script.name no value no value
suhosin.log.syslog no value no value
suhosin.log.syslog.facility no value no value
suhosin.log.syslog.priority no value no value
suhosin.log.use-x-forwarded-for Off Off
suhosin.mail.protect 0 0
suhosin.memory_limit 0 0
suhosin.mt_srand.ignore On On
suhosin.multiheader Off Off
suhosin.perdir 0 0
suhosin.post.disallow_nul 1 1
suhosin.post.disallow_ws 0 0
suhosin.post.max_array_depth 0 0
suhosin.post.max_array_index_length 0 0
suhosin.post.max_name_length 0 0
suhosin.post.max_totalname_length 0 0
suhosin.post.max_value_length 0 0
suhosin.post.max_vars 0 0
suhosin.protectkey On On
suhosin.request.disallow_nul 1 1
suhosin.request.disallow_ws 0 0
suhosin.request.max_array_depth 0 0
suhosin.request.max_array_index_length 0 0
suhosin.request.max_totalname_length 0 0
suhosin.request.max_value_length 0 0
suhosin.request.max_varname_length 0 0
suhosin.request.max_vars 0 0
suhosin.server.encode On On
suhosin.server.strip On On
suhosin.session.checkraddr 0 0
suhosin.session.cryptdocroot On On
suhosin.session.cryptkey [ protected ] [ protected ]
suhosin.session.cryptraddr 0 0
suhosin.session.cryptua Off Off
suhosin.session.encrypt Off Off
suhosin.session.max_id_length 128 128
suhosin.simulation Off Off
suhosin.sql.bailout_on_error Off Off
suhosin.sql.comment 0 0
suhosin.sql.multiselect 0 0
suhosin.sql.opencomment 0 0
suhosin.sql.union 0 0
suhosin.sql.user_postfix no value no value
suhosin.sql.user_prefix no value no value
suhosin.srand.ignore On On
suhosin.stealth On On
suhosin.upload.disallow_binary 0 0
suhosin.upload.disallow_elf 1 1
suhosin.upload.max_uploads 25 25
suhosin.upload.remove_binary 0 0
suhosin.upload.verification_script no value no value
sysvmsg
sysvmsg support enabled
Revision $Id: 4de54c4c0f668d2754472253f317a1de000b5b04 $
tidy
Tidy support enabled
libTidy Release 6 November 2007
Extension Version 2.0 ($Id$)
Directive Local Value Master Value
tidy.clean_output 0 0
tidy.default_config no value no value
tokenizer
Tokenizer Support enabled
uploadprogress
uploadprogress support enabled
Version 1.0.3.1
Directive Local Value Master Value
uploadprogress.file.contents_template /tmp/upload_contents_%s /tmp/upload_contents_%s
uploadprogress.file.filename_template /tmp/upt_%s.txt /tmp/upt_%s.txt
uploadprogress.get_contents 0 0
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.32
xmlreader
XMLReader enabled
xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
open sourced by Epinions.com
xmlwriter
XMLWriter enabled
xsl
XSL enabled
libxslt Version 1.1.24
libxslt compiled against libxml Version 2.6.32
EXSLT enabled
libexslt Version 1.1.24
zip
Zip enabled
Extension Version $Id: b1a1a3628c4ed0ad78fb0cc4a99b06a56aa281c4 $
Zip version 1.11.0
Libzip version 0.10.1
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
ionCube Loader
sysvsem
sysvshm
Environment
Variable Value
APACHE_PID_FILE /var/run/apache2.pid
APACHE_LOGDIR /var/log/apache2
PATH /usr/local/bin:/usr/bin:/bin
PWD /
PHP_FAMILY php5
LANG C
APACHE_HTTPD /usr/sbin/apache2
SHLVL 1
APACHE_CONFDIR /etc/apache2
APACHE_RUN_DIR /var/run/apache2
PHP_VERSION php5
_ /usr/sbin/apache2

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość Kamikadze

Post ma z kilometr. Weź go skróć, zmień serwer, wrzuć na nowsze mysql i php. Podejrzewam że system na którym to stoi stracił wsparcie kilka lat temu.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Trzy razy przeczytałem te "porady" i ręce opadają.

 

@ebinx ma 20 odsłon na godzinę, strona mu zaczęła wolno działać a tu nagle każecie mu robić rewolucje typu:

 

- Mój 5 letni komputer z windows 7 coś ostatnio zaczął wolno działac - co mogę zrobić?

- Kup Pan nowy komputer z windows 10 , procesorem i7 ,16 GB ram i dysk ssd - to napewno pomoże

 

 

Pomijając to że aktualizacja OS czy migracja na nowsze wersje softu istotnie wpłynie na bezpieczeństwo, to przy takim wolumenie ruchu to napewno nie jest przyczyną problemu.

 

Rozwiązywanie usterek z wolnym działaniem witryny zawsze zaczyna sie od sprawdzenia czy serwer nie ma "zadyszki" , następnie sprawdzenie i zdebugowanie samego skryptu ( wtyczki, szablony czy też jakieś "magiczne" zapytania), a dopiero na koniec można zasugerować wykonanie aktualizacji softu.

 

Zrobienie mu przeskoku o 5 lat do przodu bez żadnych testów bardziej zaszkodzi jego stronie niż pomoże - rzadko się zdarza by serwis na takim starym sofcie bez zgrzytu zmigrował sie na najnowsze oprogramowanie.

Edytowano przez Marek607 (zobacz historię edycji)
  • Upvote 1

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

rzadko się zdarza by serwis na takim starym sofcie bez zgrzytu zmigrował sie na najnowsze oprogramowanie.

Raczej bym powiedział że na 100% będzie zgrzyt. Aktualizacja w takim stanie to jak bieganie po polu minowym bez mapy ;)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość Kamikadze

Trzy razy przeczytałem te "porady" i ręce opadają.

 

@ebinx ma 20 odsłon na godzinę, strona mu zaczęła wolno działać a tu nagle każecie mu robić rewolucje typu:

 

Pomijając to że aktualizacja OS czy migracja na nowsze wersje softu istotnie wpłynie na bezpieczeństwo, to przy takim wolumenie ruchu to napewno nie jest przyczyną problemu.

 

Rozwiązywanie usterek z wolnym działaniem witryny zawsze zaczyna sie od sprawdzenia czy serwer nie ma "zadyszki" , następnie sprawdzenie i zdebugowanie samego skryptu ( wtyczki, szablony czy też jakieś "magiczne" zapytania), a dopiero na koniec można zasugerować wykonanie aktualizacji softu.

 

Zrobienie mu przeskoku o 5 lat do przodu bez żadnych testów bardziej zaszkodzi jego stronie niż pomoże - rzadko się zdarza by serwis na takim starym sofcie bez zgrzytu zmigrował sie na najnowsze oprogramowanie.

 

 

Ja się kierowałem głównie bezpieczeństwem. Trzymanie w dzisiejszych czasach starego oprogramowania jak i starego skryptu jest zaproszeniem problemów do grona znajomych.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się


×