Created
October 28, 2019 20:13
-
-
Save adamus007p/544e4306375177fb3cd9c7695e6084fa to your computer and use it in GitHub Desktop.
php 7.2 update error minimal log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you want to run YUM install checks ? [y/n] | |
This will increase your upgrade duration time wise. | |
Check the change log centminmod.com/changelog.html | |
to see if any Nginx or PHP related new additions | |
which require checking YUM prequisites are met. | |
If no new additions made, you can skip the | |
YUM install check to speed up upgrade time. | |
[y/n]: ____ _ _ ____ _ _ _ | |
| _ \ | | | || _ \ _ | | | | _ __ __ _ _ __ __ _ __| | ___ | |
| |_) || |_| || |_) |(_) | | | || '_ \ / _` || '__|/ _` | / _` | / _ \ | |
| __/ | _ || __/ _ | |_| || |_) || (_| || | | (_| || (_| || __/ | |
|_| |_| |_||_| (_) \___/ | .__/ \__, ||_| \__,_| \__,_| \___| | |
|_| |___/ | |
PHP Upgrade/Downgrade - Would you like to continue? [y/n] y | |
---------------------------------------------------------------- | |
Install which version of PHP? (version i.e. 5.6.40, 7.0.33, NGDEBUG) | |
PHP 7.x/7.1.x/7.2.x/7.3.x is GA Stable but still may have broken PHP extensions. | |
NGDEBUG is PHP 7.4.0 dev builds minus incompatible PHP extensions | |
---------------------------------------------------------------- | |
Current PHP Version: Warning: | |
Enter PHP Version number you want to upgrade/downgrade to: 7.2.24[C[C[C[C[C[C | |
Do you still want to continue? [y/n] y | |
---------------------------------------------------------------- | |
existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_281019-191814 | |
---------------------------------------------------------------- | |
PHP Warning: Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line 0 | |
PHP Warning: Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line 0 | |
----------------------------------------------------------------------------------------- | |
[1;33;40mDetected PHP 7.2 branch. | |
[mYou can compile Zend OPcache (Zend Optimizer Plus+) support | |
as an alternative to using APC Cache or Xcache cache. | |
But Zend OPcache only provides PHP opcode cache and | |
DOESN'T do data caching, so if your web apps such as Wordpress, | |
Drupal or vBulletin require data caching to APC or Xcache, | |
it won't work with Zend OPcache. | |
----------------------------------------------------------------------------------------- | |
Do you want to use Zend OPcache [y/n] ? y | |
************************************************* | |
[1;32;40m* Zend Optimizer Plus OPcache configured | |
[m************************************************* | |
PHP 7+ detected which uses newer mysqlnd | |
or PDO MySQL extensions and removed the | |
legacy mysql extension. You can optionally | |
re-add the removed legacy mysql extension | |
to PHP 7+ by answering yes to next question | |
Only answer yes if you know for sure you | |
have very old web scripts which need mysql | |
legacy extension re-added. Otherwise answer | |
no which is recommended for best stability | |
Re-add legacy mysql extension to PHP 7+ [y/n] ? n | |
/svr-setup/php-7.2.24/ext /usr/local/src/centminmod ~ | |
/usr/local/src/centminmod ~ | |
************************************************* | |
[1;32;40m* Upgrading PHP | |
[m************************************************* | |
US server detected | |
____ _ _ ____ ____ _ _ | |
| _ \ | | | || _ \ _ | _ \ ___ __ __ _ __ | | ___ __ _ __| | | |
| |_) || |_| || |_) |(_) | | | | / _ \\ \ /\ / /| '_ \ | | / _ \ / _` | / _` | | |
| __/ | _ || __/ _ | |_| || (_) |\ V V / | | | || || (_) || (_| || (_| | | |
|_| |_| |_||_| (_) |____/ \___/ \_/\_/ |_| |_||_| \___/ \__,_| \__,_| | |
HTTP/1.1 200 OK | |
[1;32;40mphp 7.2.24 Archive found, skipping download... | |
[m[1;33;40mphp-7.2.24.tar.xz valid file. | |
[m | |
PHP VERSION ID: 70224 | |
************************************************* | |
[1;32;40m* Updating php.ini... | |
[m************************************************* | |
old php.ini will be saved at /usr/local/lib/php.ini-oldversion_281019-191814 | |
if you have modified your old php.ini i.e. installed and loaded | |
APC, Xcache, Memcache or Suhosin - please re-install them after php upgrade | |
... | |
please note the following differences: | |
if APC, Xcache, Memcache, Suhosin or FFMPEG Extensions are listed please re-install them | |
-------------------------------------------------------------------------------------------- | |
18c18 | |
< ; Windows directory (C:\windows or C:\winnt) | |
--- | |
> ; Windows directory (usually C:\windows) | |
61,63c61,63 | |
< ; foo = ; sets foo to an empty string | |
< ; foo = None ; sets foo to an empty string | |
< ; foo = "None" ; sets foo to the string 'None' | |
--- | |
> ; foo = ; sets foo to an empty string | |
> ; foo = None ; sets foo to an empty string | |
> ; foo = "None" ; sets foo to the string 'None' | |
86c86 | |
< ; This is php.ini-production INI file. | |
--- | |
> ; This is the php.ini-production INI file. | |
167c167 | |
< ; To disable this feature set this option to empty value | |
--- | |
> ; To disable this feature set this option to an empty value | |
246c246 | |
< ; URL rewriter will not rewrites absolute URL nor form by default. To enable | |
--- | |
> ; URL rewriter will not rewrite absolute URL nor form by default. To enable | |
397c397 | |
< ; max_input_vars = 1000 | |
--- | |
> ;max_input_vars = 1000 | |
584a585,604 | |
> ; The syslog ident is a string which is prepended to every message logged | |
> ; to syslog. Only used when error_log is set to syslog. | |
> ;syslog.ident = php | |
> | |
> ; The syslog facility is used to specify what type of program is logging | |
> ; the message. Only used when error_log is set to syslog. | |
> ;syslog.facility = user | |
> | |
> ; Set this to disable filtering control characters (the default). | |
> ; Some loggers only accept NVT-ASCII, others accept anything that's not | |
> ; control characters. If your logger accepts everything, then no filtering | |
> ; is needed at all. | |
> ; Allowed values are: | |
> ; ascii (all printable ASCII characters and NL) | |
> ; no-ctrl (all characters except control characters) | |
> ; all (all characters) | |
> ; raw (like "all", but messages are not split at newlines) | |
> ; http://php.net/syslog.filter | |
> ;syslog.filter = ascii | |
> | |
734c754 | |
< ; extension_dir = "./" | |
--- | |
> ;extension_dir = "./" | |
736c756 | |
< ; extension_dir = "ext" | |
--- | |
> ;extension_dir = "ext" | |
740c760 | |
< ; sys_temp_dir = "/tmp" | |
--- | |
> ;sys_temp_dir = "/tmp" | |
777d796 | |
< ; http://php.net/cgi.dicard-path | |
780c799 | |
< ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate | |
--- | |
> ; FastCGI under IIS supports the ability to impersonate | |
919a939 | |
> ;extension=sodium | |
960c980 | |
< ; The precedence is: default_charset < intput_encoding < iconv.input_encoding | |
--- | |
> ; The precedence is: default_charset < input_encoding < iconv.input_encoding | |
1005c1025 | |
< ;PCRE library backtracking limit. | |
--- | |
> ; PCRE library backtracking limit. | |
1009,1012c1029,1032 | |
< ;PCRE library recursion limit. | |
< ;Please note that if you set this value to a high number you may consume all | |
< ;the available process stack and eventually crash PHP (due to reaching the | |
< ;stack size limit imposed by the Operating System). | |
--- | |
> ; PCRE library recursion limit. | |
> ; Please note that if you set this value to a high number you may consume all | |
> ; the available process stack and eventually crash PHP (due to reaching the | |
> ; stack size limit imposed by the Operating System). | |
1016,1017c1036,1037 | |
< ;Enables or disables JIT compilation of patterns. This requires the PCRE | |
< ;library to be compiled with JIT support. | |
--- | |
> ; Enables or disables JIT compilation of patterns. This requires the PCRE | |
> ; library to be compiled with JIT support. | |
1028,1031d1047 | |
< ; If mysqlnd is used: Number of cache slots for the internal result set cache | |
< ; http://php.net/pdo_mysql.cache_size | |
< pdo_mysql.cache_size = 2000 | |
< | |
1034d1049 | |
< ; http://php.net/pdo_mysql.default-socket | |
1116,1117d1130 | |
< ;birdstep.max_links = -1 | |
< | |
1167,1170d1179 | |
< ; If mysqlnd is used: Number of cache slots for the internal result set cache | |
< ; http://php.net/mysqli.cache_size | |
< mysqli.cache_size = 2000 | |
< | |
1205d1213 | |
< ; http://php.net/mysqlnd.collect_statistics | |
1210d1217 | |
< ; http://php.net/mysqlnd.collect_memory_statistics | |
1219d1225 | |
< ; http://php.net/mysqlnd.log_mask | |
1223d1228 | |
< ; http://php.net/mysqlnd.mempool_default_size | |
1227d1231 | |
< ; http://php.net/mysqlnd.net_cmd_buffer_size | |
1232d1235 | |
< ; http://php.net/mysqlnd.net_read_buffer_size | |
1236d1238 | |
< ; http://php.net/mysqlnd.net_read_timeout | |
1241d1242 | |
< ; http://php.net/mysqlnd.sha256_server_public_key | |
1369,1372c1370,1374 | |
< ; Strict session mode does not accept uninitialized session ID and regenerate | |
< ; session ID if browser sends uninitialized session ID. Strict mode protects | |
< ; applications from session fixation via session adoption vulnerability. It is | |
< ; disabled by default for maximum compatibility, but enabling it is encouraged. | |
--- | |
> ; Strict session mode does not accept an uninitialized session ID, and | |
> ; regenerates the session ID if the browser sends an uninitialized session ID. | |
> ; Strict mode protects applications from session fixation via a session adoption | |
> ; vulnerability. It is disabled by default for maximum compatibility, but | |
> ; enabling it is encouraged. | |
1410c1412,1413 | |
< ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. | |
--- | |
> ; Whether or not to add the httpOnly flag to the cookie, which makes it | |
> ; inaccessible to browser scripting languages such as JavaScript. | |
1414c1417,1422 | |
< ; Handler used to serialize data. php is the standard serializer of PHP. | |
--- | |
> ; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF) | |
> ; Current valid values are "Lax" or "Strict" | |
> ; https://tools.ietf.org/html/draft-west-first-party-cookies-07 | |
> session.cookie_samesite = | |
> | |
> ; Handler used to serialize data. php is the standard serializer of PHP. | |
1423c1431 | |
< ; the gc will run on any give request. | |
--- | |
> ; the gc will run on any given request. | |
1433,1436c1441,1444 | |
< ; session.gc_divisor is the denominator in the equation. Setting this value to 1 | |
< ; when the session.gc_divisor value is 100 will give you approximately a 1% chance | |
< ; the gc will run on any give request. Increasing this value to 1000 will give you | |
< ; a 0.1% chance the gc will run on any give request. For high volume production servers, | |
--- | |
> ; session.gc_divisor is the denominator in the equation. Setting this value to 100 | |
> ; when the session.gc_probability value is 1 will give you approximately a 1% chance | |
> ; the gc will run on any given request. Increasing this value to 1000 will give you | |
> ; a 0.1% chance the gc will run on any given request. For high volume production servers, | |
1506c1514 | |
< ; To enable rewrites for absolute pathes, target hosts must be specified | |
--- | |
> ; To enable rewrites for absolute paths, target hosts must be specified | |
1595c1603 | |
< ; Throw an AssertationException on failed assertions | |
--- | |
> ; Throw an AssertionError on failed assertions | |
1625c1633 | |
< ; autoregister constants of a components typlib on com_load() | |
--- | |
> ; autoregister constants of a component's typlib on com_load() | |
1656c1664 | |
< ; mbstring.encoding_traslation = On is needed to use this setting. | |
--- | |
> ; mbstring.encoding_translation = On is needed to use this setting. | |
1658c1666 | |
< ; The precedence is: default_charset < intput_encoding < mbsting.http_input | |
--- | |
> ; The precedence is: default_charset < input_encoding < mbsting.http_input | |
1709a1718,1722 | |
> ; This directive specifies maximum stack depth for mbstring regular expressions. It is similar | |
> ; to the pcre.recursion_limit for PCRE. | |
> ; Default: 100000 | |
> ;mbstring.regex_stack_limit=100000 | |
> | |
1827c1840 | |
< ;opcache.optimization_level=0xffffffff | |
--- | |
> ;opcache.optimization_level=0x7FFFBFFF | |
1829d1841 | |
< ;opcache.inherited_hack=1 | |
-------------------------------------------------------------------------------------------- | |
************************************************* | |
Automatically continuing upgrade in 4 seconds... | |
************************************************* | |
make: *** No rule to make target `clean'. Stop. | |
Forcing buildconf | |
Removing configure caches | |
rebuilding aclocal.m4 | |
rebuilding configure | |
rebuilding main/php_config.h.in | |
find . -name \*.gcno -o -name \*.gcda | xargs rm -f | |
find . -name \*.lo -o -name \*.o | xargs rm -f | |
find . -name \*.la -o -name \*.a | xargs rm -f | |
find . -name \*.so | xargs rm -f | |
find . -name .libs -a -type d|xargs rm -rf | |
rm -f libphp7.la sapi/cli/php sapi/cgi/php-cgi sapi/fpm/php-fpm libphp7.la modules/* libs/* | |
____ _ _ ____ ____ __ _ | |
| _ \ | | | || _ \ _ / ___| ___ _ __ / _|(_) __ _ _ _ _ __ ___ | |
| |_) || |_| || |_) |(_) | | / _ \ | '_ \ | |_ | | / _` || | | || '__|/ _ \ | |
| __/ | _ || __/ _ | |___| (_) || | | || _|| || (_| || |_| || | | __/ | |
|_| |_| |_||_| (_) \____|\___/ |_| |_||_| |_| \__, | \__,_||_| \___| | |
|___/ | |
NEWLIBICU=n | |
/opt/rh/devtoolset-8/root/usr/bin/gcc | |
/opt/rh/devtoolset-8/root/usr/bin/g++ | |
centos 7 set devtoolset-8 | |
ccache /opt/rh/devtoolset-8/root/usr/bin/gcc | |
ccache /opt/rh/devtoolset-8/root/usr/bin/g++ | |
gcc -c -Q -march=native --help=target | egrep '\-mtune|\-mprefer-vector-width|\-march|\-msse|\-msse2|\-msse2avx|\-msse3|\-mavx|\-msse4|\-mssse3|\-mpclmul' | tee /root/centminlogs/gcc_php_native.log | |
-march= ivybridge | |
-mavx [disabled] | |
-mavx2 [disabled] | |
-mavx256-split-unaligned-load [enabled] | |
-mavx256-split-unaligned-store [enabled] | |
-mavx5124fmaps [disabled] | |
-mavx5124vnniw [disabled] | |
-mavx512bitalg [disabled] | |
-mavx512bw [disabled] | |
-mavx512cd [disabled] | |
-mavx512dq [disabled] | |
-mavx512er [disabled] | |
-mavx512f [disabled] | |
-mavx512ifma [disabled] | |
-mavx512pf [disabled] | |
-mavx512vbmi [disabled] | |
-mavx512vbmi2 [disabled] | |
-mavx512vl [disabled] | |
-mavx512vnni [disabled] | |
-mavx512vpopcntdq [disabled] | |
-mpclmul [disabled] | |
-mprefer-vector-width= none | |
-msse [enabled] | |
-msse2 [enabled] | |
-msse2avx [disabled] | |
-msse3 [enabled] | |
-msse4 [enabled] | |
-msse4.1 [enabled] | |
-msse4.2 [enabled] | |
-msse4a [disabled] | |
-msse5 | |
-msseregparm [disabled] | |
-mssse3 [enabled] | |
-mtune-ctrl= | |
-mtune= ivybridge | |
Known preferred register vector length (to use with the -mprefer-vector-width= option) | |
gcc -c -Q -march=x86-64 --help=target | egrep '\-mtune|\-mprefer-vector-width|\-march|\-msse|\-msse2|\-msse2avx|\-msse3|\-mavx|\-msse4|\-mssse3|\-mpclmul' | tee /root/centminlogs/gcc_php_x86-64.log | |
-march= x86-64 | |
-mavx [disabled] | |
-mavx2 [disabled] | |
-mavx256-split-unaligned-load [enabled] | |
-mavx256-split-unaligned-store [enabled] | |
-mavx5124fmaps [disabled] | |
-mavx5124vnniw [disabled] | |
-mavx512bitalg [disabled] | |
-mavx512bw [disabled] | |
-mavx512cd [disabled] | |
-mavx512dq [disabled] | |
-mavx512er [disabled] | |
-mavx512f [disabled] | |
-mavx512ifma [disabled] | |
-mavx512pf [disabled] | |
-mavx512vbmi [disabled] | |
-mavx512vbmi2 [disabled] | |
-mavx512vl [disabled] | |
-mavx512vnni [disabled] | |
-mavx512vpopcntdq [disabled] | |
-mpclmul [disabled] | |
-mprefer-vector-width= none | |
-msse [enabled] | |
-msse2 [enabled] | |
-msse2avx [disabled] | |
-msse3 [disabled] | |
-msse4 [disabled] | |
-msse4.1 [disabled] | |
-msse4.2 [disabled] | |
-msse4a [disabled] | |
-msse5 | |
-msseregparm [disabled] | |
-mssse3 [disabled] | |
-mtune-ctrl= | |
-mtune= generic | |
Known preferred register vector length (to use with the -mprefer-vector-width= option) | |
-march= ivybridge | -march= x86-64 | |
-msse3 [enabled] | -msse3 [disabled] | |
-msse4 [enabled] | -msse4 [disabled] | |
-msse4.1 [enabled] | -msse4.1 [disabled] | |
-msse4.2 [enabled] | -msse4.2 [disabled] | |
-mssse3 [enabled] | -mssse3 [disabled] | |
-mtune= ivybridge | -mtune= generic | |
-march= ivybridge | -march= x86-64 | |
-msse4 [enabled] | -msse4 [disabled] | |
-msse4.1 [enabled] | -msse4.1 [disabled] | |
-msse4.2 [enabled] | -msse4.2 [disabled] | |
-mtune= ivybridge | -mtune= generic | |
GCC_NONNATIVEFLAGS= | |
gcc -c -Q -march=ivybridge --help=target | |
The following options are target specific: | |
-m128bit-long-double [enabled] | |
-m16 [disabled] | |
-m32 [disabled] | |
-m3dnow [disabled] | |
-m3dnowa [disabled] | |
-m64 [enabled] | |
-m80387 [enabled] | |
-m8bit-idiv [disabled] | |
-m96bit-long-double [disabled] | |
-mabi= sysv | |
-mabm [disabled] | |
-maccumulate-outgoing-args [disabled] | |
-maddress-mode= long | |
-madx [disabled] | |
-maes [enabled] | |
-malign-data= compat | |
-malign-double [disabled] | |
-malign-functions= 0 | |
-malign-jumps= 0 | |
-malign-loops= 0 | |
-malign-stringops [enabled] | |
-mandroid [disabled] | |
-march= ivybridge | |
-masm= att | |
-mavx [enabled] | |
-mavx2 [disabled] | |
-mavx256-split-unaligned-load [enabled] | |
-mavx256-split-unaligned-store [enabled] | |
-mavx5124fmaps [disabled] | |
-mavx5124vnniw [disabled] | |
-mavx512bitalg [disabled] | |
-mavx512bw [disabled] | |
-mavx512cd [disabled] | |
-mavx512dq [disabled] | |
-mavx512er [disabled] | |
-mavx512f [disabled] | |
-mavx512ifma [disabled] | |
-mavx512pf [disabled] | |
-mavx512vbmi [disabled] | |
-mavx512vbmi2 [disabled] | |
-mavx512vl [disabled] | |
-mavx512vnni [disabled] | |
-mavx512vpopcntdq [disabled] | |
-mbionic [disabled] | |
-mbmi [disabled] | |
-mbmi2 [disabled] | |
-mbranch-cost=<0,5> 3 | |
-mcall-ms2sysv-xlogues [disabled] | |
-mcet | |
-mcet-switch [disabled] | |
-mcld [disabled] | |
-mclflushopt [disabled] | |
-mclwb [disabled] | |
-mclzero [disabled] | |
-mcmodel= [default] | |
-mcpu= | |
-mcrc32 [disabled] | |
-mcx16 [enabled] | |
-mdispatch-scheduler [disabled] | |
-mdump-tune-features [disabled] | |
-mf16c [enabled] | |
-mfancy-math-387 [enabled] | |
-mfentry [disabled] | |
-mfma [disabled] | |
-mfma4 [disabled] | |
-mforce-drap [disabled] | |
-mforce-indirect-call [disabled] | |
-mfp-ret-in-387 [enabled] | |
-mfpmath= sse | |
-mfsgsbase [enabled] | |
-mfunction-return= keep | |
-mfused-madd | |
-mfxsr [enabled] | |
-mgeneral-regs-only [disabled] | |
-mgfni [disabled] | |
-mglibc [enabled] | |
-mhard-float [enabled] | |
-mhle [disabled] | |
-miamcu [disabled] | |
-mieee-fp [enabled] | |
-mincoming-stack-boundary= 0 | |
-mindirect-branch-register [disabled] | |
-mindirect-branch= keep | |
-minline-all-stringops [disabled] | |
-minline-stringops-dynamically [disabled] | |
-mintel-syntax | |
-mlarge-data-threshold=<number> 65536 | |
-mlong-double-128 [disabled] | |
-mlong-double-64 [disabled] | |
-mlong-double-80 [enabled] | |
-mlwp [disabled] | |
-mlzcnt [disabled] | |
-mmemcpy-strategy= | |
-mmemset-strategy= | |
-mmitigate-rop [disabled] | |
-mmmx [enabled] | |
-mmovbe [disabled] | |
-mmovdir64b [disabled] | |
-mmovdiri [disabled] | |
-mmpx [disabled] | |
-mms-bitfields [disabled] | |
-mmusl [disabled] | |
-mmwaitx [disabled] | |
-mno-align-stringops [disabled] | |
-mno-default [disabled] | |
-mno-fancy-math-387 [disabled] | |
-mno-push-args [disabled] | |
-mno-red-zone [disabled] | |
-mno-sse4 [disabled] | |
-mnop-mcount [disabled] | |
-momit-leaf-frame-pointer [disabled] | |
-mpc32 [disabled] | |
-mpc64 [disabled] | |
-mpc80 [disabled] | |
-mpclmul [enabled] | |
-mpcommit [disabled] | |
-mpconfig [disabled] | |
-mpku [disabled] | |
-mpopcnt [enabled] | |
-mprefer-avx128 | |
-mprefer-vector-width= none | |
-mpreferred-stack-boundary= 0 | |
-mprefetchwt1 [disabled] | |
-mprfchw [disabled] | |
-mpush-args [enabled] | |
-mrdpid [disabled] | |
-mrdrnd [enabled] | |
-mrdseed [disabled] | |
-mrecip [disabled] | |
-mrecip= | |
-mrecord-mcount [disabled] | |
-mred-zone [enabled] | |
-mregparm= 6 | |
-mrtd [disabled] | |
-mrtm [disabled] | |
-msahf [enabled] | |
-msgx [disabled] | |
-msha [disabled] | |
-mshstk [disabled] | |
-mskip-rax-setup [disabled] | |
-msoft-float [disabled] | |
-msse [enabled] | |
-msse2 [enabled] | |
-msse2avx [disabled] | |
-msse3 [enabled] | |
-msse4 [enabled] | |
-msse4.1 [enabled] | |
-msse4.2 [enabled] | |
-msse4a [disabled] | |
-msse5 | |
-msseregparm [disabled] | |
-mssse3 [enabled] | |
-mstack-arg-probe [disabled] | |
-mstack-protector-guard-offset= | |
-mstack-protector-guard-reg= | |
-mstack-protector-guard-symbol= | |
-mstack-protector-guard= tls | |
-mstackrealign [disabled] | |
-mstringop-strategy= [default] | |
-mstv [enabled] | |
-mtbm [disabled] | |
-mtls-dialect= gnu | |
-mtls-direct-seg-refs [enabled] | |
-mtune-ctrl= | |
-mtune= ivybridge | |
-muclibc [disabled] | |
-mvaes [disabled] | |
-mveclibabi= [default] | |
-mvect8-ret-in-mem [disabled] | |
-mvpclmulqdq [disabled] | |
-mvzeroupper [enabled] | |
-mwbnoinvd [disabled] | |
-mx32 [disabled] | |
-mxop [disabled] | |
-mxsave [enabled] | |
-mxsavec [disabled] | |
-mxsaveopt [enabled] | |
-mxsaves [disabled] | |
Known assembler dialects (for use with the -masm= option): | |
att intel | |
Known ABIs (for use with the -mabi= option): | |
ms sysv | |
Known code models (for use with the -mcmodel= option): | |
32 kernel large medium small | |
Valid arguments to -mfpmath=: | |
387 387+sse 387,sse both sse sse+387 sse,387 | |
Known indirect branch choices (for use with the -mindirect-branch=/-mfunction-return= options): | |
keep thunk thunk-extern thunk-inline | |
Known data alignment choices (for use with the -malign-data= option): | |
abi cacheline compat | |
Known vectorization library ABIs (for use with the -mveclibabi= option): | |
acml svml | |
Known address mode (for use with the -maddress-mode= option): | |
long short | |
Known preferred register vector length (to use with the -mprefer-vector-width= option) | |
128 256 512 none | |
Known stack protector guard (for use with the -mstack-protector-guard= option): | |
global tls | |
Valid arguments to -mstringop-strategy=: | |
byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop vector_loop | |
Known TLS dialects (for use with the -mtls-dialect= option): | |
gnu gnu2 | |
set vm.nr.hugepages in /etc/sysctl.conf | |
net.ipv6.conf.all.disable_ipv6 = 0 | |
net.ipv6.conf.default.disable_ipv6 = 0 | |
vm.nr_hugepages = 132 | |
set system max locked memory limit | |
/etc/security/limits.conf | |
* soft memlock 2162688 | |
* hard memlock 2162688 | |
# /etc/security/limits.conf | |
# | |
#This file sets the resource limits for the users logged in via PAM. | |
#It does not affect resource limits of the system services. | |
# | |
#Also note that configuration files in /etc/security/limits.d directory, | |
#which are read in alphabetical order, override the settings in this | |
#file in case the domain is the same or more specific. | |
#That means for example that setting a limit for wildcard domain here | |
#can be overriden with a wildcard setting in a config file in the | |
#subdirectory, but a user specific setting here can be overriden only | |
#with a user specific setting in the subdirectory. | |
# | |
#Each line describes a limit for a user in the form: | |
# | |
#<domain> <type> <item> <value> | |
# | |
#Where: | |
#<domain> can be: | |
# - a user name | |
# - a group name, with @group syntax | |
# - the wildcard *, for default entry | |
# - the wildcard %, can be also used with %group syntax, | |
# for maxlogin limit | |
# | |
#<type> can have the two values: | |
# - "soft" for enforcing the soft limits | |
# - "hard" for enforcing hard limits | |
# | |
#<item> can be one of the following: | |
# - core - limits the core file size (KB) | |
# - data - max data size (KB) | |
# - fsize - maximum filesize (KB) | |
# - memlock - max locked-in-memory address space (KB) | |
# - nofile - max number of open file descriptors | |
# - rss - max resident set size (KB) | |
# - stack - max stack size (KB) | |
# - cpu - max CPU time (MIN) | |
# - nproc - max number of processes | |
# - as - address space limit (KB) | |
# - maxlogins - max number of logins for this user | |
# - maxsyslogins - max number of logins on the system | |
# - priority - the priority to run user process with | |
# - locks - max number of file locks the user can hold | |
# - sigpending - max number of pending signals | |
# - msgqueue - max memory used by POSIX message queues (bytes) | |
# - nice - max nice priority allowed to raise to values: [-20, 19] | |
# - rtprio - max realtime priority | |
# | |
#<domain> <type> <item> <value> | |
# | |
#* soft core 0 | |
#* hard rss 10000 | |
#@student hard nproc 20 | |
#@faculty soft nproc 20 | |
#@faculty hard nproc 50 | |
#ftp hard nproc 0 | |
#@student - maxlogins 4 | |
# End of file | |
* soft nofile 524288 | |
* hard nofile 524288 | |
nginx soft nofile 524288 | |
nginx hard nofile 524288 | |
nobody soft nofile 524288 | |
nobody hard nofile 524288 | |
root soft nofile 524288 | |
root hard nofile 524288 | |
nginx soft memlock 69206016 | |
nginx hard memlock 69206016 | |
* soft memlock 2162688 | |
* hard memlock 2162688 | |
2621440 | |
--enable-huge-code-pages | |
set vm.nr.hugepages in /etc/sysctl.conf | |
net.ipv6.conf.all.disable_ipv6 = 0 | |
net.ipv6.conf.default.disable_ipv6 = 0 | |
vm.nr_hugepages = 136 | |
set system max locked memory limit | |
/etc/security/limits.conf | |
* soft memlock 2228224 | |
* hard memlock 2228224 | |
# /etc/security/limits.conf | |
# | |
#This file sets the resource limits for the users logged in via PAM. | |
#It does not affect resource limits of the system services. | |
# | |
#Also note that configuration files in /etc/security/limits.d directory, | |
#which are read in alphabetical order, override the settings in this | |
#file in case the domain is the same or more specific. | |
#That means for example that setting a limit for wildcard domain here | |
#can be overriden with a wildcard setting in a config file in the | |
#subdirectory, but a user specific setting here can be overriden only | |
#with a user specific setting in the subdirectory. | |
# | |
#Each line describes a limit for a user in the form: | |
# | |
#<domain> <type> <item> <value> | |
# | |
#Where: | |
#<domain> can be: | |
# - a user name | |
# - a group name, with @group syntax | |
# - the wildcard *, for default entry | |
# - the wildcard %, can be also used with %group syntax, | |
# for maxlogin limit | |
# | |
#<type> can have the two values: | |
# - "soft" for enforcing the soft limits | |
# - "hard" for enforcing hard limits | |
# | |
#<item> can be one of the following: | |
# - core - limits the core file size (KB) | |
# - data - max data size (KB) | |
# - fsize - maximum filesize (KB) | |
# - memlock - max locked-in-memory address space (KB) | |
# - nofile - max number of open file descriptors | |
# - rss - max resident set size (KB) | |
# - stack - max stack size (KB) | |
# - cpu - max CPU time (MIN) | |
# - nproc - max number of processes | |
# - as - address space limit (KB) | |
# - maxlogins - max number of logins for this user | |
# - maxsyslogins - max number of logins on the system | |
# - priority - the priority to run user process with | |
# - locks - max number of file locks the user can hold | |
# - sigpending - max number of pending signals | |
# - msgqueue - max memory used by POSIX message queues (bytes) | |
# - nice - max nice priority allowed to raise to values: [-20, 19] | |
# - rtprio - max realtime priority | |
# | |
#<domain> <type> <item> <value> | |
# | |
#* soft core 0 | |
#* hard rss 10000 | |
#@student hard nproc 20 | |
#@faculty soft nproc 20 | |
#@faculty hard nproc 50 | |
#ftp hard nproc 0 | |
#@student - maxlogins 4 | |
# End of file | |
* soft nofile 524288 | |
* hard nofile 524288 | |
nginx soft nofile 524288 | |
nginx hard nofile 524288 | |
nobody soft nofile 524288 | |
nobody hard nofile 524288 | |
root soft nofile 524288 | |
root hard nofile 524288 | |
nginx soft memlock 71303168 | |
nginx hard memlock 71303168 | |
* soft memlock 2228224 | |
* hard memlock 2228224 | |
2621440 | |
../configure --enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --enable-zip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --with-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-webp-dir=/usr --with-t1lib=/usr --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --disable-fileinfo --with-ldap --with-ldap-sasl --enable-huge-code-pages --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-xsl | |
configure: WARNING: unrecognized options: --with-mcrypt, --with-mysql, --enable-gd-native-ttf, --with-t1lib | |
[1mConfiguring SAPI modules[m | |
[1mRunning system checks[m | |
[1mGeneral settings[m | |
[1mConfiguring extensions[m | |
found | |
configure: WARNING: ======================================================== | |
configure: WARNING: Use of bundled libzip is deprecated and will be removed. | |
configure: WARNING: Some features such as encryption and bzip2 are not available. | |
configure: WARNING: Use system library and --with-libzip is recommended. | |
configure: WARNING: ======================================================== | |
[1mConfiguring PEAR[m | |
[1mConfiguring Zend[m | |
[1mConfiguring TSRM[m | |
[1mConfiguring libtool[m | |
creating libtool | |
appending configuration tag "CXX" to libtool | |
[1mGenerating files[m | |
configure: creating ./config.status | |
creating main/internal_functions.c | |
creating main/internal_functions_cli.c | |
+--------------------------------------------------------------------+ | |
| License: | | |
| This software is subject to the PHP License, available in this | | |
| distribution in the file LICENSE. By continuing this installation | | |
| process, you are bound by the terms of this license agreement. | | |
| If you do not agree with the terms of this license, you must abort | | |
| the installation process at this point. | | |
+--------------------------------------------------------------------+ | |
Thank you for using PHP. | |
config.status: creating php7.spec | |
config.status: creating main/build-defs.h | |
config.status: creating scripts/phpize | |
config.status: creating scripts/man1/phpize.1 | |
config.status: creating scripts/php-config | |
config.status: creating scripts/man1/php-config.1 | |
config.status: creating sapi/cli/php.1 | |
config.status: creating sapi/fpm/php-fpm.conf | |
config.status: creating sapi/fpm/www.conf | |
config.status: creating sapi/fpm/init.d.php-fpm | |
config.status: creating sapi/fpm/php-fpm.service | |
config.status: creating sapi/fpm/php-fpm.8 | |
config.status: creating sapi/fpm/status.html | |
config.status: creating sapi/phpdbg/phpdbg.1 | |
config.status: creating sapi/cgi/php-cgi.1 | |
config.status: creating ext/phar/phar.1 | |
config.status: creating ext/phar/phar.phar.1 | |
config.status: creating main/php_config.h | |
config.status: main/php_config.h is unchanged | |
config.status: executing default commands | |
configure: WARNING: unrecognized options: --with-mcrypt, --with-mysql, --enable-gd-native-ttf, --with-t1lib | |
Mon Oct 28 19:26:13 UTC 2019 | |
Success: PHP configure ok | |
service php-fpm restart | |
Gracefully shutting down php-fpm .......... done | |
Starting php-fpm [28-Oct-2019 19:26:23] NOTICE: PHP message: PHP Warning: Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line 0 | |
done | |
____ _ _ ____ __ __ _ | |
| _ \ | | | || _ \ _ | \/ | __ _ | | __ ___ | |
| |_) || |_| || |_) |(_) | |\/| | / _` || |/ // _ \ | |
| __/ | _ || __/ _ | | | || (_| || <| __/ | |
|_| |_| |_||_| (_) |_| |_| \__,_||_|\_\\___| | |
PHPMUVER = 7.2 | |
PHP_PGO = y | |
make -j2 prof-gen | |
CCACHE_DISABLE=1 make PROF_FLAGS=-fprofile-generate all | |
make[1]: Entering directory `/svr-setup/php-7.2.24/fpm-build' | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c: In function ‘onig_scan_unsigned_number’: | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c:307:29: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | |
if(UNEXPECTED(p > end)) p = end; \ | |
^ | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c:1547:5: note: in expansion of macro ‘PFETCH’ | |
PFETCH(c); | |
^~~~~~ | |
/svr-setup/php-7.2.24/ext/snmp/snmp.c: In function ‘zm_startup_snmp’: | |
/svr-setup/php-7.2.24/ext/snmp/snmp.c:2323:34: warning: assignment to ‘zend_object_get_gc_t’ {aka ‘struct _zend_array * (*)(struct _zval_struct *, struct _zval_struct **, int *)’} from incompatible pointer type ‘HashTable * (*)(zval *, zval ***, int *)’ {aka ‘struct _zend_array * (*)(struct _zval_struct *, struct _zval_struct ***, int *)’} [-Wincompatible-pointer-types] | |
php_snmp_object_handlers.get_gc = php_snmp_get_gc; | |
^ | |
mkdir: cannot create directory 'ext/mysqlnd/.libs': File exists | |
/svr-setup/php-7.2.24/main/network.c: In function ‘php_network_getaddresses’: | |
/svr-setup/php-7.2.24/main/network.c:242:42: warning: passing argument 1 of ‘php_network_gethostbyname’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | |
host_info = php_network_gethostbyname(host); | |
^~~~ | |
In file included from /svr-setup/php-7.2.24/main/network.c:70: | |
/svr-setup/php-7.2.24/main/php_network.h:324:24: note: expected ‘char *’ but argument is of type ‘const char *’ | |
PHPAPI struct hostent* php_network_gethostbyname(char *name); | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /svr-setup/php-7.2.24/Zend/zend.h:31, | |
from /svr-setup/php-7.2.24/main/php.h:35, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg.h:38, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:23: | |
/svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c: In function ‘phpdbg_eol_convert’: | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:115:3: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] | |
_emalloc(size) \ | |
^~~~~~~~~~~~~~ | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’ | |
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) | |
^~~~~~~~ | |
/svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:104:17: note: in expansion of macro ‘emalloc’ | |
out = (char *)emalloc(out_len); | |
^~~~~~~ | |
In file included from /svr-setup/php-7.2.24/Zend/zend.h:31, | |
from /svr-setup/php-7.2.24/main/php.h:35, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg.h:38, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:23: | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:75:31: note: in a call to allocation function ‘_emalloc’ declared here | |
ZEND_API void* ZEND_FASTCALL _emalloc(size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_SIZE(1); | |
^~~~~~~~ | |
Generating phar.php | |
/bin/sh: line 1: 17797 Illegal instruction ` if test -x "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php"; then /svr-setup/php-7.2.24/build/shtool echo -n -- "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php -n"; if test "x" != "x"; then /svr-setup/php-7.2.24/build/shtool echo -n -- " -d extension_dir=/svr-setup/php-7.2.24/fpm-build/modules"; for i in bz2 zlib phar; do if test -f "/svr-setup/php-7.2.24/fpm-build/modules/$i.la"; then . /svr-setup/php-7.2.24/fpm-build/modules/$i.la; /svr-setup/php-7.2.24/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /svr-setup/php-7.2.24/build/shtool echo -n -- "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php"; fi;` -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /svr-setup/php-7.2.24/ext/phar/build_precommand.php > ext/phar/phar.php | |
make[1]: *** [ext/phar/phar.php] Error 132 | |
make[1]: *** Waiting for unfinished jobs.... | |
make[1]: Leaving directory `/svr-setup/php-7.2.24/fpm-build' | |
make: *** [prof-gen] Error 2 | |
real 11m26.599s | |
user 15m36.555s | |
sys 6m17.089s | |
/svr-setup/php_pgo_training_scripts /svr-setup/php-7.2.24/fpm-build ~ | |
Saved working directory and index state WIP on master: 3f4a289 Merge pull request #1 from bogdanandone/master | |
HEAD is now at 3f4a289 Merge pull request #1 from bogdanandone/master | |
Already up-to-date. | |
/svr-setup/php-7.2.24/fpm-build ~ | |
inc/php_upgrade.inc: line 260: 23037 Illegal instruction ./sapi/cli/php "$DIR_TMP/php_pgo_training_scripts/init.php" | |
time ./sapi/cgi/php-cgi -T2,80 ../Zend/bench.php | |
inc/php_upgrade.inc: line 260: 23038 Illegal instruction ./sapi/cgi/php-cgi -T2,${PHP_PGO_TRAINRUNS} ../Zend/bench.php | |
real 0m0.027s | |
user 0m0.009s | |
sys 0m0.019s | |
time ./sapi/cgi/php-cgi -T2,80 ../Zend/micro_bench.php | |
inc/php_upgrade.inc: line 260: 23039 Illegal instruction ./sapi/cgi/php-cgi -T2,${PHP_PGO_TRAINRUNS} ../Zend/micro_bench.php | |
real 0m0.031s | |
user 0m0.011s | |
sys 0m0.020s | |
./sapi/cgi/php-cgi -T80 /svr-setup/php_pgo_training_scripts/index.php | |
inc/php_upgrade.inc: line 260: 23040 Illegal instruction ./sapi/cgi/php-cgi -T${PHP_PGO_TRAINRUNS} "$DIR_TMP/php_pgo_training_scripts/index.php" | |
real 0m0.027s | |
user 0m0.012s | |
sys 0m0.015s | |
pgophpbench | |
PGO phpbench setup start | |
--2019-10-28 19:38:04-- https://github.com/centminmod/centminmod-php71/raw/master/scripts/phpbench-0.8.1.zip | |
Resolving github.com... 192.30.255.112 | |
Connecting to github.com|192.30.255.112|:443... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: https://raw.githubusercontent.com/centminmod/centminmod-php71/master/scripts/phpbench-0.8.1.zip [following] | |
--2019-10-28 19:38:04-- https://raw.githubusercontent.com/centminmod/centminmod-php71/master/scripts/phpbench-0.8.1.zip | |
Resolving raw.githubusercontent.com... 151.101.196.133 | |
Connecting to raw.githubusercontent.com|151.101.196.133|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 27137 (27K) [application/zip] | |
Saving to: ‘/svr-setup/phpbench/phpbench-0.8.1.zip’ | |
0K .......... .......... ...... 100% 18.7M=0.001s | |
2019-10-28 19:38:04 (18.7 MB/s) - ‘/svr-setup/phpbench/phpbench-0.8.1.zip’ saved [27137/27137] | |
--2019-10-28 19:38:04-- https://github.com/centminmod/centminmod-php71/raw/master/scripts/detailed_benchmark.php | |
Resolving github.com... 192.30.255.112 | |
Connecting to github.com|192.30.255.112|:443... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: https://raw.githubusercontent.com/centminmod/centminmod-php71/master/scripts/detailed_benchmark.php [following] | |
--2019-10-28 19:38:05-- https://raw.githubusercontent.com/centminmod/centminmod-php71/master/scripts/detailed_benchmark.php | |
Resolving raw.githubusercontent.com... 151.101.196.133 | |
Connecting to raw.githubusercontent.com|151.101.196.133|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 7303 (7.1K) [text/plain] | |
Saving to: ‘/opt/phpbench/detailed_benchmark.php’ | |
0K ....... 100% 10.5M=0.001s | |
2019-10-28 19:38:05 (10.5 MB/s) - ‘/opt/phpbench/detailed_benchmark.php’ saved [7303/7303] | |
/svr-setup/phpbench /svr-setup/php-7.2.24/fpm-build ~ | |
Archive: phpbench-0.8.1.zip | |
extracting: AUTHORS | |
inflating: ChangeLog | |
inflating: LICENSE | |
inflating: phpbench.php | |
inflating: README | |
creating: tests/ | |
inflating: tests/test_arithmetic.php | |
inflating: tests/test_array_operators.php | |
inflating: tests/test_bitwise.php | |
inflating: tests/test_casting.php | |
inflating: tests/test_chr_fixed.php | |
inflating: tests/test_chr_hardcoded.php | |
inflating: tests/test_chr_var.php | |
inflating: tests/test_comment_loop.php | |
inflating: tests/test_compare.php | |
inflating: tests/test_compare_false.php | |
inflating: tests/test_compare_invert.php | |
inflating: tests/test_compare_strict.php | |
inflating: tests/test_compare_unstrict.php | |
inflating: tests/test_constants.php | |
inflating: tests/test_crc32.php | |
inflating: tests/test_do_while.php | |
inflating: tests/test_do_while_break.php | |
inflating: tests/test_empty.php | |
inflating: tests/test_empty_loop.php | |
inflating: tests/test_ereg.php | |
inflating: tests/test_foreach.php | |
inflating: tests/test_get_class.php | |
inflating: tests/test_global_scalar_assign.php | |
inflating: tests/test_global_string_assign.php | |
inflating: tests/test_if_constant.php | |
inflating: tests/test_increment.php | |
inflating: tests/test_isset.php | |
inflating: tests/test_is_array.php | |
inflating: tests/test_is_object.php | |
inflating: tests/test_is_type.php | |
inflating: tests/test_line.php | |
inflating: tests/test_local_array_assign.php | |
inflating: tests/test_local_boolean_assign.php | |
inflating: tests/test_local_float_assign.php | |
inflating: tests/test_local_hash_assign.php | |
inflating: tests/test_local_integer_assign.php | |
inflating: tests/test_local_object_assign.php | |
inflating: tests/test_local_scalar_assign.php | |
inflating: tests/test_local_string_assign.php | |
inflating: tests/test_md5.php | |
inflating: tests/test_microtime.php | |
inflating: tests/test_mt_rand.php | |
inflating: tests/test_ord.php | |
inflating: tests/test_ordered_functions.php | |
inflating: tests/test_ordered_functions_references.php | |
inflating: tests/test_preg_match.php | |
inflating: tests/test_rand.php | |
inflating: tests/test_references.php | |
inflating: tests/test_sha1.php | |
inflating: tests/test_string_append.php | |
inflating: tests/test_strlen.php | |
inflating: tests/test_switch.php | |
inflating: tests/test_time.php | |
inflating: tests/test_unordered_functions.php | |
inflating: tests/test_variable_variables.php | |
inflating: tests/test_while.php | |
/svr-setup/php-7.2.24/fpm-build ~ | |
PGO phpbench setup end | |
./sapi/cgi/php-cgi -T10 /svr-setup/phpbench/phpbench.php | |
inc/php_upgrade.inc: line 260: 23048 Illegal instruction ./sapi/cgi/php-cgi -T10 "${DIR_TMP}/phpbench/phpbench.php" | |
real 0m0.038s | |
user 0m0.017s | |
sys 0m0.021s | |
./sapi/cgi/php-cgi -T20 /opt/phpbench/detailed_benchmark.php | |
inc/php_upgrade.inc: line 260: 23049 Illegal instruction ./sapi/cgi/php-cgi -T20 /opt/phpbench/detailed_benchmark.php | |
real 0m0.040s | |
user 0m0.015s | |
sys 0m0.025s | |
make prof-clean | |
find . -name \*.lo -o -name \*.o | xargs rm -f | |
find . -name \*.la -o -name \*.a | xargs rm -f | |
find . -name \*.so | xargs rm -f | |
rm -f libphp7.la sapi/cli/php sapi/cgi/php-cgi sapi/fpm/php-fpm libphp7.la modules/* libs/* | |
real 0m0.366s | |
user 0m0.090s | |
sys 0m0.287s | |
make -j2 prof-use | |
CCACHE_DISABLE=1 make PROF_FLAGS=-fprofile-use all | |
make[1]: Entering directory `/svr-setup/php-7.2.24/fpm-build' | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++ | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c: In function ‘onig_scan_unsigned_number’: | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c:307:29: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | |
if(UNEXPECTED(p > end)) p = end; \ | |
^ | |
/svr-setup/php-7.2.24/ext/mbstring/oniguruma/src/regparse.c:1547:5: note: in expansion of macro ‘PFETCH’ | |
PFETCH(c); | |
^~~~~~ | |
/svr-setup/php-7.2.24/ext/snmp/snmp.c: In function ‘zm_startup_snmp’: | |
/svr-setup/php-7.2.24/ext/snmp/snmp.c:2323:34: warning: assignment to ‘zend_object_get_gc_t’ {aka ‘struct _zend_array * (*)(struct _zval_struct *, struct _zval_struct **, int *)’} from incompatible pointer type ‘HashTable * (*)(zval *, zval ***, int *)’ {aka ‘struct _zend_array * (*)(struct _zval_struct *, struct _zval_struct ***, int *)’} [-Wincompatible-pointer-types] | |
php_snmp_object_handlers.get_gc = php_snmp_get_gc; | |
^ | |
/svr-setup/php-7.2.24/main/network.c: In function ‘php_network_getaddresses’: | |
/svr-setup/php-7.2.24/main/network.c:242:42: warning: passing argument 1 of ‘php_network_gethostbyname’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | |
host_info = php_network_gethostbyname(host); | |
^~~~ | |
In file included from /svr-setup/php-7.2.24/main/network.c:70: | |
/svr-setup/php-7.2.24/main/php_network.h:324:24: note: expected ‘char *’ but argument is of type ‘const char *’ | |
PHPAPI struct hostent* php_network_gethostbyname(char *name); | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /svr-setup/php-7.2.24/Zend/zend.h:31, | |
from /svr-setup/php-7.2.24/main/php.h:35, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg.h:38, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:23: | |
/svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c: In function ‘phpdbg_eol_convert’: | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:115:3: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] | |
_emalloc(size) \ | |
^~~~~~~~~~~~~~ | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’ | |
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) | |
^~~~~~~~ | |
/svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:104:17: note: in expansion of macro ‘emalloc’ | |
out = (char *)emalloc(out_len); | |
^~~~~~~ | |
In file included from /svr-setup/php-7.2.24/Zend/zend.h:31, | |
from /svr-setup/php-7.2.24/main/php.h:35, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg.h:38, | |
from /svr-setup/php-7.2.24/sapi/phpdbg/phpdbg_eol.c:23: | |
/svr-setup/php-7.2.24/Zend/zend_alloc.h:75:31: note: in a call to allocation function ‘_emalloc’ declared here | |
ZEND_API void* ZEND_FASTCALL _emalloc(size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_SIZE(1); | |
^~~~~~~~ | |
Generating phar.php | |
/bin/sh: line 1: 22942 Illegal instruction ` if test -x "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php"; then /svr-setup/php-7.2.24/build/shtool echo -n -- "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php -n"; if test "x" != "x"; then /svr-setup/php-7.2.24/build/shtool echo -n -- " -d extension_dir=/svr-setup/php-7.2.24/fpm-build/modules"; for i in bz2 zlib phar; do if test -f "/svr-setup/php-7.2.24/fpm-build/modules/$i.la"; then . /svr-setup/php-7.2.24/fpm-build/modules/$i.la; /svr-setup/php-7.2.24/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /svr-setup/php-7.2.24/build/shtool echo -n -- "/svr-setup/php-7.2.24/fpm-build/sapi/cli/php"; fi;` -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /svr-setup/php-7.2.24/ext/phar/build_precommand.php > ext/phar/phar.php | |
make[1]: *** [ext/phar/phar.php] Error 132 | |
make[1]: *** Waiting for unfinished jobs.... | |
make[1]: Leaving directory `/svr-setup/php-7.2.24/fpm-build' | |
make: *** [prof-use] Error 2 | |
real 10m58.132s | |
user 14m11.561s | |
sys 6m25.352s | |
Mon Oct 28 19:49:03 UTC 2019 | |
Error: 2, PHP make failed (123.09beta01.b301) | |
total used free shared buff/cache available | |
Mem: 3789 1083 765 250 1941 2175 | |
Swap: 3967 40 3927 | |
report errors on the forums at community.centminmod.com/forums/8/ | |
with info asked at community.centminmod.com/threads/17857/ | |
total used free shared buff/cache available | |
Mem: 3789 1083 765 250 1941 2175 | |
Swap: 3967 40 3927 | |
Filesystem Type Size Used Avail Use% Mounted on | |
devtmpfs devtmpfs 1.9G 0 1.9G 0% /dev | |
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm | |
tmpfs tmpfs 1.9G 193M 1.7G 11% /run | |
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup | |
/dev/mapper/centos_34178723--c1a0--48d1--85f3--e5b481cba49f-root xfs 50G 16G 35G 31% / | |
/dev/vda1 xfs 497M 245M 253M 50% /boot | |
/dev/mapper/centos_34178723--c1a0--48d1--85f3--e5b481cba49f-home xfs 31G 8.9G 22G 29% /home | |
tmpfs tmpfs 379M 0 379M 0% /run/user/0 | |
/dev/loop0 ext4 5.8G 25M 5.5G 1% /tmp | |
CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz (2) | |
version increment history | |
123.09beta01.b301 #Mon Oct 28 12:44:49 UTC 2019 | |
123.09beta01.b301 #Mon Oct 28 12:45:10 UTC 2019 | |
123.09beta01.b301 #Mon Oct 28 12:47:00 UTC 2019 | |
123.09beta01.b301 #Mon Oct 28 15:57:35 UTC 2019 | |
123.09beta01.b301 #Mon Oct 28 19:18:23 UTC 2019 | |
last Centmin Mod local git commit entry | |
/usr/local/src/centminmod /svr-setup/php-7.2.24/fpm-build ~ | |
da6cf75 George Liu Sun, 27 Oct 2019 14:51:23 +1000 | |
part 2 add option to raise PHP 7+'s PCRE JIT Stack size in 123.09beta01 | |
1 1 centmin.sh | |
2 2 inc/php_configure.inc | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
/svr-setup/php-7.2.24/fpm-build ~ | |
Total PHP Upgrade Time: 1765.664424003 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment