Lines Matching refs:libpath
113 char *libpath; in php_load_extension() local
139 libpath = estrdup(filename); in php_load_extension()
144 spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ in php_load_extension()
146 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_extension()
152 handle = php_load_shlib(libpath, &err1); in php_load_extension()
155 char *orig_libpath = libpath; in php_load_extension()
158 …spprintf(&libpath, 0, "%s" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, filename); … in php_load_extension()
160 …spprintf(&libpath, 0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_S… in php_load_extension()
163 handle = php_load_shlib(libpath, &err2); in php_load_extension()
166 filename, orig_libpath, err1, libpath, err2); in php_load_extension()
169 efree(libpath); in php_load_extension()
176 efree(libpath); in php_load_extension()