You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.6 KiB

  1. --- a/ext/opcache/ZendAccelerator.c
  2. +++ b/ext/opcache/ZendAccelerator.c
  3. @@ -2652,11 +2652,6 @@ static void accel_gen_system_id(void)
  4. PHP_MD5Update(&context, PHP_VERSION, sizeof(PHP_VERSION)-1);
  5. PHP_MD5Update(&context, ZEND_EXTENSION_BUILD_ID, sizeof(ZEND_EXTENSION_BUILD_ID)-1);
  6. PHP_MD5Update(&context, ZEND_BIN_ID, sizeof(ZEND_BIN_ID)-1);
  7. - if (strstr(PHP_VERSION, "-dev") != 0) {
  8. - /* Development versions may be changed from build to build */
  9. - PHP_MD5Update(&context, __DATE__, sizeof(__DATE__)-1);
  10. - PHP_MD5Update(&context, __TIME__, sizeof(__TIME__)-1);
  11. - }
  12. /* Modules may have changed after restart which can cause dangling pointers from
  13. * custom opcode handlers in the second-level cache files
  14. */
  15. --- a/sapi/litespeed/lsapi_main.c
  16. +++ b/sapi/litespeed/lsapi_main.c
  17. @@ -1284,9 +1284,9 @@ static int cli_main( int argc, char * ar
  18. case 'v':
  19. if (php_request_startup() != FAILURE) {
  20. #if ZEND_DEBUG
  21. - php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
  22. + php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  23. #else
  24. - php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
  25. + php_printf("PHP %s (%s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  26. #endif
  27. #ifdef PHP_OUTPUT_NEWAPI
  28. php_output_end_all();