Pzz
Verified User
Hi,
I took the time to take a look at the php 7.2 log and found some warnings.
Some seems to be deprecated. I never turned them on on purpose so shouldn't they be turned off automaticly? Can I (should I) do something about it? Searching on the web didin't give me much information. And I always ingnored warnings but maybe it's time to finally fix it. Some of them seems more disturbing then others.
PHP should benefit from fixing it I guess...?
I'v clustered in 5 sections:
1
2
3
4
5
What does these warnings mean? Can I fix it? Or ignore it?
Thanks!
I took the time to take a look at the php 7.2 log and found some warnings.
Some seems to be deprecated. I never turned them on on purpose so shouldn't they be turned off automaticly? Can I (should I) do something about it? Searching on the web didin't give me much information. And I always ingnored warnings but maybe it's time to finally fix it. Some of them seems more disturbing then others.
PHP should benefit from fixing it I guess...?
I'v clustered in 5 sections:
1
Code:
checking for libcurl.pc... not found
configure: WARNING: Could not find libcurl.pc. Try without /usr/local/lib or set PKG_CONFIG_PATH
configure: WARNING: Fallback: search for curl headers and curl-config
2
Code:
checking for the location of zlib... /usr
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: ========================================================
3
Code:
/usr/local/directadmin/custombuild/php-7.2.10/ext/gd/libgd/gd_jpeg.c:743:29: warning: assignment from incompatible pointer type [enabled by default]
src->pub.fill_input_buffer = fill_input_buffer;
^
/usr/local/directadmin/custombuild/php-7.2.10/ext/gd/libgd/gd_jpeg.c: In function 'php_gd_jpeg_gdIOCtx_dest':
/usr/local/directadmin/custombuild/php-7.2.10/ext/gd/libgd/gd_jpeg.c:863:32: warning: assignment from incompatible pointer type [enabled by default]
dest->pub.empty_output_buffer = empty_output_buffer;
4
Code:
/usr/local/directadmin/custombuild/php-7.2.10/ext/intl/idn/idn.c:227:4: warning: 'uidna_IDNToASCII_58' is deprecated (declared at /usr/local/icu/include/unicode/uidna.h:675) [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^
/usr/local/directadmin/custombuild/php-7.2.10/ext/intl/idn/idn.c:229:4: warning: 'uidna_IDNToUnicode_58' is deprecated (declared at /usr/local/icu/include/unicode/uidna.h:722) [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^
5
Code:
/bin/ld: warning: libpcre.so.1, needed by /usr/lib64/libselinux.so.1, may conflict with libpcre.so.0
What does these warnings mean? Can I fix it? Or ignore it?
Thanks!