php 5.4 upgrade problems
Being a silly man I had to update the php version to 5.3 and was in my host providers control panel and noticed the recommended version of PHP was 5.4. I had 5.2 loaded and 5.3 was not available so I updated it to 5.4
And the problems start ( here comes the forums for help) after much investigation with no luck I phoned the host 1and1 for help the first person I spoke to on Wednesday said she would put back the php to ver 5.2 and send me the backup of the site, I received the backup in the root directory of the site but kept checking to see if the php had been put back and today Friday I phoned them again after speaking to a nice lady and explaining the situation she checked out a few things and fixed the problem it was a setting in my .htaccess file
My File
AddType x-mapp-php5 .php
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
and the file she changed it to
Her File
AddHandler x-mapp-php5 .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase / RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now I never actually put the code in the .htaccess file it was wordpress when I started the site
I do not know the difference between AddType and AddHandler but it worked before and works again mybe some day I will learn exactly what happened
the interesting bit for me is that the global php version on the server is 5.4 but wordpress is loading 4.2 due to the .htaccess file my original problem was a date format in PODS it would not give UK format I was told I had to update to 5.3 server never had option for that only 5.4 so I did it and date worked bu tnow I need to figure out how to load 5.3 to fix my original problem to check the version just add phpinfo.php to the end of your domain name