Set Different PHP versions for different applications

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: 6c6435af-220c-bd6f-a8b1-17db96f5e20f

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
Hi,

I have launced an EC2 instance with Bitnami LAMP AMI. Then I notice it uses PHP 8.x, while my WordPress site is built on PHP 7.4.x.

As far as I can remember, in my original server which has cPanel installed, it is possible to specify different PHP versions for different websites. Therefore, how can I do this in Bitnami LAMP system as well?

Hello @ccw,

I don’t fully understand your question. Note that we offer several versions of LAMP on AWS. You can choose one that fits your case.

Regards

Hi, @davidg

Sorry for the confusion, what I mean is a function like https://blog.cpanel.com/lets-talk-multiphp/ so that I can set different PHP versions for different websites.

Moreover, what is the difference between “AWS Marketplace” and “Community AMI”? in “AWS Marketplace”, I can only find one that uses LAMP(PHP 8.x) from Bitnami.

Thank you

Hi @ccw,

Bitnami Stacks are completely self-contained and run independently of the rest of the software or libraries installed on your system. This means that you don’t have to worry about installing any other software on your system to make a new application work. They also won’t interfere with any software already installed on your system, so everything you’re already running will continue to work normally. That’s why only on PHP version is supported per stack. We offer LAMP stack for all the supported PHP versions.

On AWS Marketplace we only can publish one version of a solution, that’s why we offer 8 since is the latest PHP stable version. Community images could be published with several versions.

I hope it clarifies things

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.