Bitnami App on Google Cloud (Debian) Enable PHP Short Tags  

Where do you start in the case that you have uploaded a custom theme to a Bitnami application (hosted on Google Cloud) and you have a fatal error that you cannot identify? The error logs might be a good idea however these reveal nothing. The only clue is a completely blank/white page.

Does your theme use php short tags?  <? instead of <?php

 

In that case there is a quick solution. Enable short tags. Login to your SSH terminal and follow these instructions:

sudo vi /opt/bitnami/php/etc/php.ini

Scroll down and locate short_tags

change it from:

short_open_tag=Off

to

short_open_tag=On

Then Save and exit the file and restart PHP:

sudo /opt/bitnami/ctlscript.sh restart php-fpm

Done! Short tags should now be enabled!

Article written by