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

/PHP_5_4/main/
H A Dphp_ini.c475 char *separator_location, *binary_location; local
477 binary_location = estrdup(PG(php_binary));
478 separator_location = strrchr(binary_location, DEFAULT_SLASH);
480 if (separator_location && separator_location != binary_location) {
486 strlcat(php_ini_search_path, binary_location, search_path_size);
487 efree(binary_location);
H A Dmain.c266 char *binary_location; local
268 binary_location = (char *)malloc(MAXPATHLEN);
269 if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) {
270 free(binary_location);
275 binary_location = (char *)malloc(MAXPATHLEN);
290 if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
299 free(binary_location);
300 binary_location
[all...]

Completed in 4 milliseconds