Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Htaccess Code To Switch To Other Php Version, Htaccess Code To Switch To php 5.6
Web Design Seo
post Jun 13 2012, 08:21 AM
Post #1


Web Design Seo
****

Group: Root Admin
Posts: 4,161
Joined: 29-April 09
From: Sofia
Member No.: 1



Here is example of Htaccess Code To Switch To php 5.3. Many old cms and old functionalities dont work well with latest versions of php 5.5 and 5.6, so, if you have problems, you can use this to switch to php 5.3.

Enter as first line in your .htaccess in public_html this:

Код
AddHandler x-httpd-php53 php


Or try (for php 5.3) with:
Код
AddHandler application/x-httpd-php53 .php


Or try (for php 5.5) with:
Код
AddHandler application/x-httpd-php55 .php


For php 5.6:
Код
AddHandler x-httpd-php56 .php

Or:
Код
AddHandler application/x-httpd-php56 .php


In this way your website will work with php 5.3 instead of installed on your server version of (php 5.3 or other). This code work on most servers, but not on all. Just test this htaccess code on your server and with your php version to see. You can try to switch to other than 5.3 php version also smile.gif


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Pinned: Htaccess Code To Speed Up Joomla
example code for Htaccess for Joomla, Wordpress and other CMS
7 Web Design Seo 21,944 17th November 2018 - 11:47 AM
Last post by: Web Design Seo
No New Posts Php And Display Issues
1 -suzankara- 3,538 23rd June 2015 - 08:54 AM
Last post by: Web Design Seo
No New Posts Pinned: Php Development Of Seo Tools
Web Development of Seo tool
1 Web Design Seo 8,598 26th October 2012 - 02:23 PM
Last post by: Web Design Seo
No New Posts Pinned: Php Development Of News Aggregators
Web Development of Rss Feed Aggregators
0 Web Design Seo 6,413 19th December 2011 - 01:58 PM
Last post by: Web Design Seo
No New Posts Php Code To Retrieve Title In Joomla 1.7
useful guide
0 Web Design Seo 3,130 16th November 2011 - 11:26 AM
Last post by: Web Design Seo


 



RSS Lo-Fi Version Time is now: 16th October 2019 - 05:36 PM
Clicky Web Analytics