Lines Matching refs:binary_location
274 char *binary_location = NULL; in php_binary_init() local
276 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init()
277 if (binary_location && GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) { in php_binary_init()
278 free(binary_location); in php_binary_init()
283 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init()
284 if (binary_location && !strchr(sapi_module.executable_location, '/')) { in php_binary_init()
298 …if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STA… in php_binary_init()
307 free(binary_location); in php_binary_init()
308 binary_location = NULL; in php_binary_init()
310 … if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_locati… in php_binary_init()
311 free(binary_location); in php_binary_init()
312 binary_location = NULL; in php_binary_init()
316 PG(php_binary) = binary_location; in php_binary_init()