File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ PHP 7.4 UPGRADE NOTES
47
47
function does not throw, so explicitly checking it is not necessary.
48
48
RFC: http://php.net/manual/de/function.openssl-random-pseudo-bytes.php
49
49
50
+ - PEAR:
51
+ . Installation of PEAR (including PECL) is no longer enabled by default. It
52
+ can be explicitly enabled using --with-pear. This option is deprecated and
53
+ may be removed in the future.
54
+
50
55
- PDO:
51
56
. Attempting to serialize a PDO or PDOStatement instance will now generate
52
57
an Exception rather than a PDOException, consistent with other internal
@@ -145,8 +150,8 @@ PHP 7.4 UPGRADE NOTES
145
150
pattern will be interpreted as a string instead.
146
151
147
152
- LDAP:
148
- . ldap_control_paged_result_response and ldap_control_paged_result are deprecated.
149
- Pagination controls can be sent along with ldap_search instead.
153
+ . ldap_control_paged_result_response and ldap_control_paged_result are
154
+ deprecated. Pagination controls can be sent along with ldap_search instead.
150
155
151
156
========================================
152
157
5. Changed Functions
Original file line number Diff line number Diff line change @@ -1136,8 +1136,7 @@ if test "$PHP_CLI" = "no"; then
1136
1136
fi
1137
1137
1138
1138
PHP_ARG_WITH(pear, [ whether to install PEAR] ,
1139
- [ --with-pear=DIR Install PEAR in DIR @<:@ PREFIX/lib/php@:>@
1140
- --without-pear Do not install PEAR] , DEFAULT, yes)
1139
+ [ --with-pear=DIR Install PEAR in DIR @<:@ PREFIX/lib/php@:>@ ] , no, yes)
1141
1140
1142
1141
if test "$PHP_PEAR" != "no"; then
1143
1142
@@ -1153,10 +1152,12 @@ if test "$PHP_PEAR" != "no"; then
1153
1152
AC_MSG_ERROR ( [ $pear_error_msg] )
1154
1153
fi
1155
1154
1155
+ AC_MSG_WARN ( [ The --with-pear option is deprecated] )
1156
+
1156
1157
install_pear="install-pear"
1157
1158
PEAR_INSTALLDIR=$PHP_PEAR
1158
1159
1159
- if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = " yes"; then
1160
+ if test "$PHP_PEAR" = "yes"; then
1160
1161
case $PHP_LAYOUT in
1161
1162
GNU) PEAR_INSTALLDIR=$datadir/pear;;
1162
1163
*) PEAR_INSTALLDIR=$libdir/php;;
You can’t perform that action at this time.
0 commit comments