I recently moved a working Drupal 6.26 site to a new Ubuntu server that I have setup myself.
This is the first Linux server I have setup, and I learned a lot, but I am by no means an expert on Linux server configuration and building pieces for the server from source.
Anyway, as it turns out I am now getting a few errors, and a lot of STRICT warnings from my Drupal site. From my research it seems that Drupal is intended to run on PHP 5.2 but the PHP I used in my installation is PHP 5.4.6-1ubuntu1.2. I am also running Apache/2.2.22 (Ubuntu). The server is Ubuntu 12.10.
I believe the differences in PHP itself from 5.2 to 5.4 may in fact be causing the errors and warnings I am now seeing.
What are my options for getting rid of the errors and warnings; and for any possible options, how would I go about making the changes required? In other words, what is the easiest way to get around my current issues?
So far, I see my options are:
- port my site to Drupal 7 (but this is too big a task for me at this time)
- replace my current PHP with a version of PHP 5.2 (but the process to do this seems beyond my current skill level - I am not sure how to configure and recompile PHP 5.2 and how downgrade from 5.4 to 5.2 including changes in Apache2. Are there good instructions available on how I might do this?)