File tree Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1+ 8.2.8
Original file line number Diff line number Diff line change @@ -90,6 +90,4 @@ benchmark () {
9090 fi
9191
9292 echo " $url " >> " $url_file "
93-
94- echo
9593}
Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ if [ -f "$url_file" ]; then
3333 mv " $url_file " " $url_file .old"
3434fi
3535
36-
37- phpv= ` php -r ' echo phpversion(); ' `
38- echo " /------- PHP $phpv -------/ "
36+ phpc= ` curl -s " $base /libs/php_config.php " `
37+ echo " /------- PHP Config -------/ "
38+ echo " $phpc "
3939
4040for fw in ` echo $param_targets `
4141do
4242 if [ -d " $fw " ]; then
43- echo " /------- $fw -------/"
43+ echo " \n /------- $fw -------/"
4444
4545 # read -p "Continue to $fw (y/n)?" choice
4646 # case "$choice" in
6767 # fi
6868
6969 # reset the opcache
70- php ./libs/reset_opcache.php
70+ opcacherest=` curl -s " $base /libs/reset_opcache.php" `
71+ echo " $opcacherest "
7172
7273 if [ " $param_restart_apache " = true ]; then
7374 echo ' systemctl restart apache2'
Original file line number Diff line number Diff line change 8181
8282sh ./base/hello_world.sh
8383
84+ echo ' '
8485php ./libs/show_results_table.php
Original file line number Diff line number Diff line change 1+ <?php
2+ echo 'PHP: ' .phpversion ().PHP_EOL ;
3+ echo 'OPCache: ' .(is_array (opcache_get_status ()) ? 'On ' : 'Off ' ).PHP_EOL ;
Original file line number Diff line number Diff line change 11<?php
22
3- opcache_reset ( );
3+ echo ' opcache_reset: ' . ( opcache_reset ()? ' done ' : ' disabled/pending ' );
You can’t perform that action at this time.
0 commit comments