Comments (4)
Hi @vladimirbuskin. pdo_sqlsrv is not bundled in now-php at this moment. Only extension is needed or any other files?
from php.
Ping @vladimirbuskin.
from php.
Hello @f3l1x sorry, i was looking for an ability to use it, but people in my organization can not understand it, and customers want to have something which can be installed on their servers, so i was just digging. Installing that sql server driver, is pretty time space big task, it requires a lot of dependencies in my DockerFile, i am not sure if all those are installed just for compilation or used, didn't try it.
Can provide part of the Dockerfile if will help.
RUN apt-get update \
# microsoft key and
&& apt-get install -y --no-install-recommends gnupg2 \
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
# to make "apt-key add" command work
gnupg2 \
# to unzip
unzip \
# to get jasperserver deps in composer
git \
# unix odbc, required for pdo_sqlsrv
unixodbc-dev msodbcsql17 \
# deps for php extensions
libicu-dev \
libpq-dev \
libxml2-dev \
zlib1g-dev \
libpng-dev \
libjpeg-dev \
libonig-dev \
libzip-dev \
libfreetype6-dev \
curl\
pkg-config \
patch\
# nano to connect to container to debug
nano \
# pdo_sqlsrv
&& pecl install sqlsrv pdo_sqlsrv xdebug \
&& docker-php-ext-enable sqlsrv pdo_sqlsrv xdebug \
from php.
Thanks @vladimirbuskin. I think it's out of our limits. I mean lambda limits in Vercel. Microsoft sqlserver seems like a big dependency and it might reach our size (50mb) limit. Quite frankly, we can't use pdo_sqlsrv extension at this time.
from php.
Related Issues (20)
- could not find driver `pgsql` HOT 3
- Unable to load dynamic library 'mongodb' and 'swoole' when deploying HOT 5
- Error: Exited with 4, Something wrong with the build process, Error: Command "vercel build" exited with 1 HOT 3
- Fatal errors not reported in vercel logs HOT 4
- mongodb module missing in 0.7.0 HOT 1
- Change / Appoint php version HOT 4
- Vercel 0.7.0 + Laravel 10 HOT 2
- the example can't run,what happened? HOT 4
- PHP Built-In Server HTTP error: Error: connect ECONNREFUSED 127.0.0.1:8000 HOT 22
- Can we support php trader
- Can we increase the **max_execution_time** and **post_max_size** here? HOT 2
- Mongo DB is not loaded and returns Class "MongoDB\Driver\Manager" not found
- error: The following Serverless Functions contain an invalid "runtime" when deploying
- Wrong Instruction in README
- Error when deploy it to Vercel "No such file or directory" HOT 5
- php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory HOT 1
- Unable to use Sentry
- Auto-deploy production: Vite manifest not found at: /var/task/user/public/build/manifest.json
- Wordpress generate static website
- error shared libraries: libssl.so
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php.