Archive for the ‘PHP Hosting’ Category

Change php version through .htaccess

Thursday, November 24th, 2011

If there are two php versions compiled on server and you wish to use php version for your domain other than the default one then make the  use .htaccess for this.

For example default php version on server is set to php 4 then all domains by default will use php4.  But certain applications installed on a domain runs only under php5 then in that case it is necessary that domain should use php5

Open .htaccess by any suitable editor like vi, pico etc. Put the following code into it.

Server without suphp enabled

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

Server with suphp enabled

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

Same way you can enable php4 if the default php version is php5. Just put the php4 instead php5 in above code.

 

 

Related Posts:

  • No Related Posts

MySQL Server Hosting

Wednesday, October 27th, 2010

MySQL Server is a popular open source database server used by businesses to empower their internal infrastructures as well as their front facing websites, as it is a highly powerful system that can provide the security and stability that larger businesses require from a database application. MySQL’s most popular application is with the scripting language PHP as these two offer a highly powerful combination that will allow you to create highly dynamic websites that offer a good level of interaction to visitors because PHP scripts can interact with the functions that your hosting server has to offer whilst you can make use of MySQL databases as a backend in which you can store your data. When compared to alternatives such as Microsoft SQL Server, MySQL Server can offer you a very good deal because it is open source meaning that you won’t have to pay for any licenses for the right to use the application; furthermore, you won’t have to worry about any limitations affecting how you are able to deploy MySQL Server within your business. As MySQL is open source, you can also modify the source code of the application to create your own version if you have specific requirements, which mean that you’ll need to adapt the application in order for it to work in the way you want it to.

(more…)

Related Posts:

PHP Scripting Language

Wednesday, October 27th, 2010

PHP is a popular, open source scripting language that is used for the development of dynamic websites, usually in conjunction with MySQL databases that act as a backend store for the information required by the website. PHP is available across multiple platforms meaning that your choice of operating system shouldn’t restrict you from using PHP, more so your skills are going to be the main factor that could hold you back with regards to PHP development. One of the main reasons that businesses choose to use PHP for their development needs is that they can easily modify the core of the scripting language if they wish to add additional functionality or improve certain factors and functions in order to provide their web users with a more stable user experience. PHP is the best scripting language to use in a Linux web hosting environment as it will provide you with the best level of interaction with the operating system and when you’re trying to develop scalable web applications, you want to make the most of what the operating system has to offer. There are many websites that will also be able to aid you with PHP development if you are having issues with a certain aspect of dynamic website development.

(more…)

Related Posts: