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

/PHP_TRUNK/main/
H A Dphp_ini.c487 char *separator_location, *binary_location; local
489 binary_location = estrdup(PG(php_binary));
490 separator_location = strrchr(binary_location, DEFAULT_SLASH);
492 if (separator_location && separator_location != binary_location) {
498 strlcat(php_ini_search_path, binary_location, search_path_size);
499 efree(binary_location);
H A Dmain.c268 char *binary_location; local
270 binary_location = (char *)malloc(MAXPATHLEN);
271 if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) {
272 free(binary_location);
277 binary_location = (char *)malloc(MAXPATHLEN);
292 if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
301 free(binary_location);
302 binary_location
[all...]

Completed in 4 milliseconds