We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ec40d commit c4eb5f2Copy full SHA for c4eb5f2
ext/oci8/oci8.c
@@ -79,11 +79,14 @@ static PHP_GSHUTDOWN_FUNCTION(oci);
79
#endif
80
81
/* For a user friendly message about environment setup */
82
-/* TODO: add cases for SHLIB_PATH, LIBPATH, LD_LIBRARY_PATH_64 etc */
83
#if defined(PHP_WIN32)
84
#define PHP_OCI8_LIB_PATH_MSG "PATH"
85
#elif defined(__APPLE__)
86
#define PHP_OCI8_LIB_PATH_MSG "DYLD_LIBRARY_PATH"
+#elif defined(_AIX)
87
+#define PHP_OCI8_LIB_PATH_MSG "LIBPATH"
88
+#elif defined(__hpux)
89
+#define PHP_OCI8_LIB_PATH_MSG "SHLIB_PATH"
90
#else
91
#define PHP_OCI8_LIB_PATH_MSG "LD_LIBRARY_PATH"
92
0 commit comments