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.

32 lines
1.9 KiB

  1. Index: php-7.1.12/ext/opcache/ZendAccelerator.c
  2. ===================================================================
  3. --- php-7.1.12.orig/ext/opcache/ZendAccelerator.c
  4. +++ php-7.1.12/ext/opcache/ZendAccelerator.c
  5. @@ -2604,11 +2604,6 @@ static void accel_gen_system_id(void)
  6. PHP_MD5Update(&context, PHP_VERSION, sizeof(PHP_VERSION)-1);
  7. PHP_MD5Update(&context, ZEND_EXTENSION_BUILD_ID, sizeof(ZEND_EXTENSION_BUILD_ID)-1);
  8. PHP_MD5Update(&context, ZEND_BIN_ID, sizeof(ZEND_BIN_ID)-1);
  9. - if (strstr(PHP_VERSION, "-dev") != 0) {
  10. - /* Development versions may be changed from build to build */
  11. - PHP_MD5Update(&context, __DATE__, sizeof(__DATE__)-1);
  12. - PHP_MD5Update(&context, __TIME__, sizeof(__TIME__)-1);
  13. - }
  14. PHP_MD5Final(digest, &context);
  15. for (i = 0; i < 16; i++) {
  16. c = digest[i] >> 4;
  17. Index: php-7.1.12/sapi/litespeed/lsapi_main.c
  18. ===================================================================
  19. --- php-7.1.12.orig/sapi/litespeed/lsapi_main.c
  20. +++ php-7.1.12/sapi/litespeed/lsapi_main.c
  21. @@ -1036,9 +1036,9 @@ static int cli_main( int argc, char * ar
  22. case 'v':
  23. if (php_request_startup() != FAILURE) {
  24. #if ZEND_DEBUG
  25. - php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2017 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
  26. + php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) 1997-2017 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  27. #else
  28. - php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2017 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
  29. + php_printf("PHP %s (%s)\nCopyright (c) 1997-2017 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  30. #endif
  31. #ifdef PHP_OUTPUT_NEWAPI
  32. php_output_end_all();