Searched refs:binary_location (Results 1 - 2 of 2) sorted by relevance

/PHP_5_6/main/
H A Dphp_ini.c492 char *separator_location, *binary_location; local
494 binary_location = estrdup(PG(php_binary));
495 separator_location = strrchr(binary_location, DEFAULT_SLASH);
497 if (separator_location && separator_location != binary_location) {
503 strlcat(php_ini_search_path, binary_location, search_path_size);
504 efree(binary_location);
H A Dmain.c265 char *binary_location; local
267 binary_location = (char *)malloc(MAXPATHLEN);
268 if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) {
269 free(binary_location);
274 binary_location = (char *)malloc(MAXPATHLEN);
289 if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
298 free(binary_location);
299 binary_location
[all...]

Completed in 5 milliseconds