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

PDO and openssl both module extension not work together #5

Open
sunny-brevity opened this issue Jan 9, 2017 · 2 comments
Open

PDO and openssl both module extension not work together #5

sunny-brevity opened this issue Jan 9, 2017 · 2 comments

Comments

@sunny-brevity
Copy link

I have create PHP binary file in my local system with below module but it does not work. at a time only one module work both are not work together.

In AWS lambda function i need to work with both PDO and opelssl Please tell me solution for same. i have try to search a lot but i did not get anything about this problem.

when i try with both module in lambda function then execute without any error but i did not get any result. i mean no error but not execute. i have attached image please check.
lambda management console

I need database operation with SES and SNS service in lambda function using PHP SDK.

your binary file also working, but it not work with PDO.

Array
(
[0] => Core
[1] => date
[2] => ereg
[3] => libxml
[4] => openssl
[5] => pcre
[6] => curl
[7] => standard
[8] => hash
[9] => json
[10] => mbstring
[11] => SPL
[12] => PDO
[13] => Phar
[14] => Reflection
[15] => SimpleXML
[16] => sockets
[17] => mysqlnd
[18] => exif
[19] => xml
[20] => pdo_mysql
[21] => mhash
)

@jonee
Copy link

jonee commented May 7, 2017

You might need to statically compile PDO into the php binary something like this http://php.net/manual/en/pdo.installation.php

@adrianpraja
Copy link
Member

Hi Sunny,

The binaries in this repo are pretty old,
can't even remember what OS were they compiled on.

I'll try to recompile on Amazon Linux 2, inside a docker,
that should result in a compatible PDO/OpenSSL

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

3 participants