Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing using WAMP on Windows #571

Open
OceanicNomad opened this issue Aug 16, 2023 · 2 comments
Open

Error installing using WAMP on Windows #571

OceanicNomad opened this issue Aug 16, 2023 · 2 comments

Comments

@OceanicNomad
Copy link

When trying to install on Windows using WAMP or similar, the following needs to be removed.

if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$this->installationModel->setWindowsSqlMode();
}

if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$this->installationModel->setNormalMode();
}

@jonamix-ar
Copy link

Version PHP Wamp?

@OceanicNomad
Copy link
Author

This is a fix for any PHP version, it just removes the script checking for Windows environment and attempting to use Windows SQL Server rather than MySQL.

If you must know, it was tested on PHP 8.2 and MySQL 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants