-
Notifications
You must be signed in to change notification settings - Fork 373
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
MacOS Big Sur #1213
Comments
Thanks @keithbrinks we will do the investigation on our side and get back to you on this. |
Same error I am getting.
Brew: Pecl: |
Yes @abdulwahhabkhan we are aware of this issue. We do not officially support macOS Big Sur yet, but we are looking into this. Please stay tuned. |
Thanks @yitam I did end up upgrading over the weekend. The driver does work if it was already compiled/installed. Just can't install fresh. |
Thanks for the info @keithbrinks. I'm sure some people will find it useful. Homebrew does not provide support for macOS Big Sur yet but is working on it |
Hi @yitam , Thanks for the update, do we have any other way to install the I just moved from windows to MAC and due to this struggling a lot :( Thanks |
@abdulwahhabkhan please use other macOS that we officially support, from High Sierra to Catalina. |
For those who are looking to get the MSSQL driver working on Big Sur, you can manually download the binaries and install them. Here is how I did that:
In my case, for some reason the
|
Thanks @nm777 for your info! Yet, sqlsrv / pdo_sqlsrv depends on the ODBC driver, which does not officially support Big Sur either for the time being. |
@yitam, that's a good point. However, for me I can say that the steps in the Microsoft docs (https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15) for installing the ODBC drivers worked and in combination with the steps above, I'm able to query my local (docker-based) MSSQL instance from my PHP application. Obviously in an unsupported configuration like this, others may have different results. I'm hoping my experience helps someone along the way. |
Thanks @nm777 again for your contributions! This is in our priority list and we will get to it as soon as possible. |
Thanks @nm777 , I followed the esxample you given but get following errors:
Any idea how to solve this. Thanks |
I forgot that the first time I used the drivers I believe Mac's security kicked in. If you go to System Preferences >> Security & Privacy >> General, do you see a warning in the lower section about a blocked app? If so, click the button to allow it. You'll have to do this twice since there are 2 drivers. I hope I'm not forgetting anything else.... |
Thanks @nm777 It workks Thanks |
Just released 5.9.0-beta2. This will be the last preview before the stable release. Even though we do not yet officially support Big Sur,
|
Closing this issue due to inactivity. Please feel free to reopen this if necessary. |
Found this issue looking for Big Sur help, and the beta install noted previously was almost successful, but I ran into this at the end:
PHP
PECL
HOMEBREW
Any help would be greatly appreciated |
Hi @justindantzer , this is a known issue with macOS install. Please check our FAQ Why pecl install fails on macOS with "Warning: mkdir(): File exists in System.php" message? |
I can install this library, but when running an error like this appears in Bigsur PHP 7.4.11
Solved install |
Yes @armadeas. In case other people are looking for an answer to this, the ODBC driver is the prerequisite to sqlsrv or pdo_sqlsrv |
This comment has been minimized.
This comment has been minimized.
Hi @angelsv please try again by following the instructions here |
@yitam Perfect!!! thanks |
With MacOS Big Sur set to be released tomorrow, I setup a fresh installation (11.0.1) of the public beta in a VM to test my application + dependencies.
I installed PHP via Homebrew (
brew install php
) and have 7.4.12 installed.I then installed the ODBC driver via:
The ODBC driver appears to have installed successfully.
Finally, I attempted to install the PDO_SQSRV driver via pecl:
This is resulting in the following messages:
I have used the steps above to successfully install PDO_SQLSRV on macOS Catalina, using PHP 7.4.8, which was the latest release at the time.
Thanks
The text was updated successfully, but these errors were encountered: