Php 5.5+ required error

Keywords: WordPress - Bitnami Cloud Hosting - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: 4f41cd1c-7c2b-249a-4c2e-fd3f83dc62e3

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues

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

Description:
Hi y’all. I’m new to bitnami, but quickly immersing myself. What alternative is there to trying to migrate to a new vm?

I’ve got a new client who is experiencing the “php 5.5+ required” error. Current php version is 5.3.29. She’s running a WordPress website that is now down likely due to her trying to run WP and plugin updates that were incompatible with the php version. Someone has led her astray because she has 4 servers, one currently stopped, all running the same website with an outdated version of WordPress (4.6.1-5) as well as the php version issues.

My concern is that her website won’t migrate.

My goal was to access phpmyadmin to deactivate all plugins and try to get the WP dashboard and website to partially pull up again and put it into maintenance mode until I can get the updates applied correctly.

Thanks in advance.

Hi @joe.kroog,

Does she have a backup of the server that you can easily use to recover the app? If that’s not the case, you should be able to access phpMyAdmin in that instance no matter if WordPress is running or not. Another way to disable all plugins would be to rename the plugins folder inside /opt/bitnami/apps/wordpress/htdocs/wp-content

sudo mv /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins.back

Can you access the app now? If yes, we have this guide that explains how to migrate the app’s data to a new instance with newer PHP, Apache and MySQL versions

https://docs.bitnami.com/general/how-to/migrate-wordpress/

Note that as she is using an old version of WordPress/PHP, she/you might need to install a previous version of this plugin in order to work with the app version she has.

Happy to help!


Was my answer helpful? Click on :heart:

Hi jota. Thanks for the reply. Unfortunately, I’m still getting a server http 500 error when trying to access the application from the bitnami controller.

I restored to a new server the backup from 20 days ago. I updated DNS to point to the new static IP address. I created a new profile in putty using the static IP address and completed the connection. I check the directories and the files seem to be there. I then tried to launch the application - same server 500 error. And trying to launch phpmyadmin via the url (I tried port 80 and port 443), I still receive a “site can’t be reached” error.

Other suggestions?

Hi jota. Thanks for the reply. Unfortunately, I’m still getting a server http 500 error when trying to access the application from the bitnami controller.

I restored to a new server the backup from 20 days ago. I updated DNS to point to the new static IP address. I created a new profile in putty using the static IP address and completed the connection. I check the directories and the files seem to be there. I then tried to launch the application - same server 500 error. And trying to launch phpmyadmin via the url (I tried port 80 and port 443), I still receive a “site can’t be reached” error.

Other suggestions?

Hi @joe.kroog,

Did you take a look at the Apache’s log file to identify what the issue is?

https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/deny-connections-bots-apache/

I hope this info helps

I appreciate the help chasing this wild cat.
Update: The DNS for thehost.com is no longer showing the server 500 error, but it is not resolving to the website. Instead it is resolving to the Bitnami Cloud Server page that shows the buttons to “Access My Applications”, “Access phpMyAdmin”, etc. Trying to access phpMyAdmin via Putty and the SSH Tunnel again results in the error page “PHP 5.5+ is required. Currently installed version is: 5.3.29”. I’m back to where I started.

I tried to access the error logs and the access logs, but neither show in the directory apache2/logs/ via the Putty command interface. The /logs directory appears empty for all servers (the prior as well as the new server with the restored app).

Do you think there is an issue with Apache not handling the http and https calls? Without error logs, is there another way that I can validate this? Or is the correct fix to get php updated?

Thanks again. Joe

Hi @joe.kroog,

This is weird. If you recovered the server to a stage where everything was working properly, why does it not work? Are you sure the server was working at that time?

What happens if you click on “Access my applications”? Does it redirect you to WordPress?

Let me check the configuration files first. Can you run the Bitnami Diagnostic tool again so we can review the information?

Please note that you need to paste the code ID that is shown at the end.

i also have same error, can anyone here can tell me how can i solve this?

Hi @nbainblood.forever,

Please create a separate thread in this forum so the team reviews your deployment and helps you with the migration. Mixing conversations here is not a good idea as it’ll generate noise for you and for the users who will read the conversation in the future.

Thanks