mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
OCI8: improve initialization error message (See bug 60154)
This commit is contained in:
parent
89a4d34646
commit
677c7c974b
@ -79,11 +79,14 @@ static PHP_GSHUTDOWN_FUNCTION(oci);
|
||||
#endif
|
||||
|
||||
/* For a user friendly message about environment setup */
|
||||
/* TODO: add cases for SHLIB_PATH, LIBPATH, LD_LIBRARY_PATH_64 etc */
|
||||
#if defined(PHP_WIN32)
|
||||
#define PHP_OCI8_LIB_PATH_MSG "PATH"
|
||||
#elif defined(__APPLE__)
|
||||
#define PHP_OCI8_LIB_PATH_MSG "DYLD_LIBRARY_PATH"
|
||||
#elif defined(_AIX)
|
||||
#define PHP_OCI8_LIB_PATH_MSG "LIBPATH"
|
||||
#elif defined(__hpux)
|
||||
#define PHP_OCI8_LIB_PATH_MSG "SHLIB_PATH"
|
||||
#else
|
||||
#define PHP_OCI8_LIB_PATH_MSG "LD_LIBRARY_PATH"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user