Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

PHP 7.4.0 officially released

2»

Comments

  • Is there any major differences noticed 7.3 --> 7.4?

  • eva2000eva2000 Veteran
    edited December 2019

    @SteveMC said:
    Thank you @eva2000 , so it seems this is what I am doing. However, I thought that, during the training process, data would be written into files located in the source tree. But I see nothing. I'll try to dig it more.

    .gcda created files by PHP binary will be removed on make clean so you probably wiping them before you get a chance to inspect them ???

    from PHP Makefile

    grep -C3 -in 'gcda' Makefile
    262-    fi
    263-
    264-clean:
    265:    find . -name \*.gcno -o -name \*.gcda | xargs rm -f
    266-    find . -name \*.lo -o -name \*.o | xargs rm -f
    267-    find . -name \*.la -o -name \*.a | xargs rm -f
    268-    find . -name \*.so | xargs rm -f
    

    haven't really checked during PHP PGO compiles for the files but I do know they get created when I also do Profile Guided Optimizations on other binaries like pigz multi-threaded gzip binary

    edit: ok just checked on PHP 7.4.0 PGO compile there was 607 .gcda files generated in PHP-FPM build directory

    pwd; find . -name '*.gcda' | wc -l
    /svr-setup/php-7.4.0/fpm-build
    607
    

    saved in directories relatively

    excerpt

    find . -name '*.gcda' 
    ./main/.libs/output.gcda
    ./main/.libs/internal_functions_cli.gcda
    ./main/.libs/strlcpy.gcda
    ./main/.libs/SAPI.gcda
    ./main/.libs/fastcgi.gcda
    ./main/.libs/snprintf.gcda
    ./main/.libs/php_syslog.gcda
    ./main/.libs/network.gcda
    ./main/.libs/main.gcda
    ./main/.libs/rfc1867.gcda
    ./main/.libs/explicit_bzero.gcda
    ./main/.libs/php_content_types.gcda
    ./main/.libs/strlcat.gcda
    ./main/.libs/mergesort.gcda
    ./main/.libs/getopt.gcda
    ./main/.libs/fopen_wrappers.gcda
    ./main/.libs/php_ini.gcda
    ./main/.libs/php_open_temporary_file.gcda
    ./main/.libs/php_variables.gcda
    ./main/.libs/php_ticks.gcda
    ./main/.libs/spprintf.gcda
    ./main/streams/.libs/memory.gcda
    ./main/streams/.libs/userspace.gcda
    ./main/streams/.libs/plain_wrapper.gcda
    ./main/streams/.libs/streams.gcda
    ./main/streams/.libs/transports.gcda
    ./main/streams/.libs/xp_socket.gcda
    ./main/streams/.libs/filter.gcda
    ./main/streams/.libs/mmap.gcda
    ./main/streams/.libs/glob_wrapper.gcda
    ./main/streams/.libs/cast.gcda
    ./Zend/.libs/zend_generators.gcda
    ./Zend/.libs/zend_float.gcda
    ./Zend/.libs/zend_ini_scanner.gcda
    ./Zend/.libs/zend_ts_hash.gcda
    ./Zend/.libs/zend_extensions.gcda
    ./Zend/.libs/zend_execute_API.gcda
    ./Zend/.libs/zend_objects_API.gcda
    ./Zend/.libs/zend_multibyte.gcda
    ./Zend/.libs/zend_gc.gcda
    ./Zend/.libs/zend_alloc.gcda
    ./Zend/.libs/zend_inheritance.gcda
    ./Zend/.libs/zend_opcode.gcda
    ./Zend/.libs/zend_ptr_stack.gcda
    ./Zend/.libs/zend_smart_str.gcda
    ./Zend/.libs/zend_ini_parser.gcda
    ./Zend/.libs/zend_language_scanner.gcda
    ./Zend/.libs/zend_weakrefs.gcda
    ./Zend/.libs/zend_execute.gcda
    ./Zend/.libs/zend_object_handlers.gcda
    ./Zend/.libs/zend_constants.gcda
    ./Zend/.libs/zend_stream.gcda
    ./Zend/.libs/zend_ast.gcda
    ./Zend/.libs/zend_interfaces.gcda
    ./Zend/.libs/zend_string.gcda
    ./Zend/.libs/zend_strtod.gcda
    ./Zend/.libs/zend_closures.gcda
    ./Zend/.libs/zend_llist.gcda
    ./Zend/.libs/zend_default_classes.gcda
    ./Zend/.libs/zend_API.gcda
    ./Zend/.libs/zend_hash.gcda
    ./Zend/.libs/zend_stack.gcda
    ./Zend/.libs/zend_compile.gcda
    ./Zend/.libs/zend_signal.gcda
    ./Zend/.libs/zend_ini.gcda
    ./Zend/.libs/zend_highlight.gcda
    ./Zend/.libs/zend_operators.gcda
    ./Zend/.libs/zend_objects.gcda
    ./Zend/.libs/zend_sort.gcda
    ./Zend/.libs/zend_vm_opcodes.gcda
    ./Zend/.libs/zend_list.gcda
    ./Zend/.libs/zend_variables.gcda
    ./Zend/.libs/zend_iterators.gcda
    ./Zend/.libs/zend_exceptions.gcda
    ./Zend/.libs/zend.gcda
    ./Zend/.libs/zend_cpuinfo.gcda
    ./Zend/.libs/zend_language_parser.gcda
    ./Zend/.libs/zend_builtin_functions.gcda
    ./Zend/.libs/zend_virtual_cwd.gcda
    

    @ErawanArifNugroho said:
    Can we use centmin on Debian/Ubuntu?

    Centmin Mod is CentOS only - preferably CentOS 7 right now - CentOS 8 compatibility is work in progress https://community.centminmod.com/threads/centmin-mod-centos-8-compatibility-worklog.18372/

    @tuxandrew said:
    Is there any major differences noticed 7.3 --> 7.4?

    you didn't read the benchmarks I posted or you mean feature wise and not performance wise ? feature wise plenty of sites covering differences and what's new. I linked to some in my 7.4 thread for my Centmin Mod users at https://community.centminmod.com/threads/php-7-4-0-ga-stable-release-coming-soon.18727/

    Thanked by 1SteveMC
  • SteveMCSteveMC Member
    edited December 2019

    eva2000 said: .gcda created files by PHP binary will be removed on make clean so you probably wiping them before you get a chance to inspect them ???

    That "my" problem. I don't have .gcda files at all, I was searching for them, before making the make clean ,(or anything else) , so I should be missing something, but I'll look deeper at it when I have time.

    Thanks for your replies @eva2000

Sign In or Register to comment.