Skip to content

Serverless lambda

0

Hi everyone, I'm trying to deploy WordPress in lambda created runtime PHP7 and run WordPress while testing ERROR: mysqli-extention error

<body id="error-page"> <div class="wp-die-message"><p>Your PHP installation appears to be missing the MySQL extension which is required by WordPress.</p> <p>Please check that the <code>mysqli</code> PHP extension is installed and enabled.</p> <p>If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="https://wordpress.org/support/forums/">WordPress support forums</a>.</p> </div></body> </html> RequestId: 2c25e092-a55c-43dd-a903-41faaee302** Error: Runtime exited with error: exit status 1 Runtime.ExitError

Atttempt: Created php.ini and added mysqli issue was not solved

asked 3 years ago417 views
1 Answer
0

Hi,

You should read https://medium.com/@nwosuonyedikachi/how-to-run-a-php-based-aws-lambda-function-e1b7a0254036 Section about adding extensions will be useful given your error message.

Also https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/ may be useful

Best, Didier

EXPERT
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.