@@ -1017,16 +1017,41 @@ cat <<X
1017
1017
X
1018
1018
fi
1019
1019
1020
- echo "+--------------------------------------------------------------------+"
1021
- echo "| License: |"
1022
- echo "| This software is subject to the PHP License, available in this |"
1023
- echo "| distribution in the file LICENSE. By continuing this installation |"
1024
- echo "| process, you are bound by the terms of this license agreement. |"
1025
- echo "| If you do not agree with the terms of this license, you must abort |"
1026
- echo "| the installation process at this point. |"
1027
- echo "+--------------------------------------------------------------------+"
1020
+ # Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
1021
+ if test "$PHP_OCI8 " != "no"; then
1022
+ if test "$PHP_SAPI " = "apache"; then
1023
+ if test ` uname` = "Linux"; then
1024
+ cat <<X
1025
+ +--------------------------------------------------------------------+
1026
+ | *** WARNING *** |
1027
+ | |
1028
+ | Please check that your Apache (httpd) is linked with libpthread. |
1029
+ | If not, you have to recompile Apache with pthread. For more |
1030
+ | details, see this page: http://www.php.net/manual/ref.oci8.php |
1031
+ X
1032
+ fi
1033
+ fi
1034
+ fi
1035
+
1036
+ if test "$PHP_SIGCHILD " != "yes"; then
1037
+ cat <<X
1038
+ +--------------------------------------------------------------------+
1039
+ | Notice: |
1040
+ | If you encounter <defunc> processes when using a local Oracle-DB |
1041
+ | please recompile PHP and specify --enable-sigchild when configuring|
1042
+ | (This problem has been reported un Linux using Oracle >= 8.1.5) |
1043
+ X
1044
+ fi
1028
1045
1029
1046
cat<<X
1047
+ +--------------------------------------------------------------------+
1048
+ | License: |
1049
+ | This software is subject to the PHP License, available in this |
1050
+ | distribution in the file LICENSE. By continuing this installation |
1051
+ | process, you are bound by the terms of this license agreement. |
1052
+ | If you do not agree with the terms of this license, you must abort |
1053
+ | the installation process at this point. |
1054
+ +--------------------------------------------------------------------+
1030
1055
1031
1056
Thank you for using PHP.
1032
1057
0 commit comments