How to Change PHP Version via .htaccess File

On a server, there is possibility to have more than one compiled php version. If you wish to use a php version other than the default one, you can use the .httaccess file for this purpose.

If the default php version on a server is set to php 5, then by default, all domains will use php5.  If a certain application installed on a domain runs only under php4, thenit is necessary that the domain uses php4

Open .htaccess by any suitable editor. Put the following code into it:

Server without suphp enabled

AddType application/x-httpd-php4 .php .htm .html

Server with suphp enabled

AddHandler application/x-httpd-php4 .php .htm .html

In the same way, you can enable other php versions if they are installed/compiled over the server.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , | Posted under Internet, Programming/Coding, Using Arvixe | Leave a comment

How to Add DNS Records Using WebsitePanel

So you have a web hosting plan from Arvixe with WebsitePanel control panel and you need to add DNS records such as CNAME

or MX. You need not to have to seek help from Arvixe support. You can add the required entries yourself, but the interface for adding DNS settings is hidden. You will have a tough time adding entries if you are new to WebsitePanel control panel.

Follow the steps given below to add new DNS records

(1) Login to WebsitePanel and click Domains icon Learn More

Tags: , , , , , , , , , , , , , | Posted under DotNet/Windows Hosting, DotNetPanel Administration | Leave a comment

How to Get the Value of an Element’s Attribute with jQuery using attr()


Lately that I’ve been working a lot with jQuery, I have noticed how easy and small functions get endless possibilities for improving code. In this article, you will learn how to get the value of any attribute of an element with jQuery using attr()

We will imagine we have the following HTML code: Learn More

Tags: , , , , , , , , , , , | Posted under Programming/Coding | Leave a comment