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

/PHP_TRUNK/main/
H A Dmain.c235 char *binary_location; local
237 binary_location = (char *)malloc(MAXPATHLEN);
238 if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) {
239 free(binary_location);
244 binary_location = (char *)malloc(MAXPATHLEN);
259 if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
268 free(binary_location);
269 binary_location
[all...]
H A Dphp_ini.c488 char *separator_location, *binary_location; local
490 binary_location = estrdup(PG(php_binary));
491 separator_location = strrchr(binary_location, DEFAULT_SLASH);
493 if (separator_location && separator_location != binary_location) {
499 strlcat(php_ini_search_path, binary_location, search_path_size);
500 efree(binary_location);

Completed in 5 milliseconds