↓
 

David Stewart Gillies

My Personal Site

  • Home
  • Gillies Clan
  • My Family
  • My Masonic
  • My News
    • CHAS
    • moans & Groans
    • potholes
    • masonic news
  • From the Web
    • Computer Upgrade
    • reviews
    • wishlist
    • Gadgets
    • recomended
  • photo Gallery
    • albums
    • Grand kids
    • bonfire night
    • Masonic
      • st Vincent Plantation No 259
      • regalia
  • web design and programs
    • code snippits
    • contact Form 7
    • Design problems
    • Div Tables
    • page Builder
    • Outlook Configuration
    • Pods Framework
    • theme my login
    • wp calendar
    • Events Manager
  • Tips & tweaks
  • dsg257-pc

Design problems

php 5.4 upgrade problems

David Stewart Gillies Posted on 22/02/2014 by dsg25722/02/2014

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

1and1

Last Updated @

  • Children’s Hospice Association Scotland
  • Days Out
  • Masonic Blog
  • Masonic Regalia
  • Contact
  • Guestbook
  • links

Recent Posts

  • PGRAC Glasgow
  • Craig Miller No 468
  • Dennistoun Harmony of Unity R.A.C. No. 266
  • St. Vincent Plantation No. 259
  • Mid & East Lothian Provincial Installation

Recent Comments

  • John Despard on Guestbook
  • Susan Hunter on Guestbook
  • dsg257 on Guestbook
  • Michelle gillies on Guestbook
  • dsg257 on Guestbook

Photo of the day

20130824_145704.jpg

Categories

Website security

Archives

Tags

Chapter corsair Cryptic gigabyte graphics intel lodge Mariners perceptory provincial Supreme

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2022 - David Stewart Gillies - Weaver Xtreme Theme
↑