An OSTraining member asked how to setup a Bitnami environment that supports PHP 5.4.
The Bitnami Wamp stacks are available in 3 versions here:
Each of these provides an environment that is preconfigured with a different version of PHP.
5.5.37 comes with PHP 5.5, which you should also use for 5.4 setups. The reason 5.4 is no longer available is because the changes between 5.5 and 5.4 are minimal. You can read more about the changes on the official change log here.
To install the Wamp stack, follow our installation guide.
If you already have a Bitnami Lamp setup, you can install it again. Just be sure to use a different directory location to your original installation. All Bitnami files are contained within these containers, so you can simply install the stack as many times as you like.
When installing your second stack, you will have to use different ports for Apache, SSL and MySQL:
Once the installation is complete, you should see this screen:
In this older version of the Bitnami stack, the environment doesn’t include Drupal. So we will have to install Drupal now.
Download or copy your drupal site to Bitnamiwampstack-5.5.37-1apache2htdocsdrupal
Navigate to http://127.0.0.1:8080/drupal/
If you are doing a fresh install, you will see this screen:
You can access PHPMyAdmin from http://localhost:8080/phpmyadmin/