typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); bool Is64BitWindows() { #if defined(_WIN64) return true; // 64-bit programs run only on Win64 #elif defined(_WIN32) // 32-bit programs run on both 32-bit and 64-bit Windows // so must sniff BOOL f64 = FALSE; LPFN_ISWOW64PROCESS fnIsWow64Process; fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process"); if (NULL != fnIsWow64Process) { return !!(fnIsWow64Process(GetCurrentProcess(),… Continue reading How to check Windows or process is 64bit
Tag: windows
phpMyAdmin says “Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.”
You need to create “tmp” directory where php saves session data. In windows its location is typically same folder as php.exe resides. Open phpinfo() and look for “session.save_path” for the actual path.