You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#4 added support for using HeidiSQL on Windows. Windows doesn't have an open command like Mac does and given how Windows tracks executables, we actually need to know the full file path to Heidi in order to run it. Right now, that is accomplished by hard coding possible Program Files folders and checking each of them. Ideally, we would pull the Program Files path from an environment variable (PROGRAMFILES and PROGRAMFILES(X86). When I tried that in #4 it didn't produce the right results as both environment variables pointed to the 32 bit folders.
This is because I'm running a 32 bit version of PHP on a 64 bit machine (testable by running php -r var_dump(PHP_INT_SIZE); and seeing if it is 4 or 8. We should try and figure out a long term solution for this so PHP sees both the 32 bit and 64 bit directories regardless of PHP version.
The text was updated successfully, but these errors were encountered:
#4 added support for using HeidiSQL on Windows. Windows doesn't have an
open
command like Mac does and given how Windows tracks executables, we actually need to know the full file path to Heidi in order to run it. Right now, that is accomplished by hard coding possibleProgram Files
folders and checking each of them. Ideally, we would pull theProgram Files
path from an environment variable (PROGRAMFILES
andPROGRAMFILES(X86)
. When I tried that in #4 it didn't produce the right results as both environment variables pointed to the 32 bit folders.This is because I'm running a 32 bit version of PHP on a 64 bit machine (testable by running
php -r var_dump(PHP_INT_SIZE);
and seeing if it is 4 or 8. We should try and figure out a long term solution for this so PHP sees both the 32 bit and 64 bit directories regardless of PHP version.The text was updated successfully, but these errors were encountered: