CyberHostUK - Web Hosting Forum & Community Discussion Board
News: Welcome to the all new CyberHostUK Web Hosting Discussion Forums!
 
*
Welcome, Guest. Please login or register. September 09, 2010, 02:38:21 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: PHP5 is HERE!  (Read 866 times)
0 Members and 1 Guest are viewing this topic.
CyberHostUK Tim
CyberHostUK
Administrator
New Member
*****

Karma: 1
Posts: 43



WWW
« on: August 01, 2007, 08:08:04 PM »

Several clients have expressed a desire to have PHP5 installed on our servers so they can have the latest and greatest software. We have been listening to your suggestions and we’re happy to say it’s on its way! We have been looking into ways of implementing it to run alongside PHP4 so that existing PHP scripts and websites do not break.

Thus, it gives us great pleasure to announce that we will be installing PHP5 alongside PHP4 this evening (Wednesday 1st August 2007). Once PHP5 has been installed, both versions of PHP can be used and run simultaneously on our servers!

We will be performing the installation within the next hour so you may experience a brief loss of website connectivity for a few seconds while the necessary services are being restarted as PHP5 is implemented.

Once the installation has completed successfully, we will send out another email with instructions on how PHP5 can be used on your account.

As always, if you have any questions, please contact us via the HelpDesk or support@cyberhostuk.net.
Logged

Kind regards,

Tim
CyberHostUK Founder & Managing Director
CyberHostUK Tim
CyberHostUK
Administrator
New Member
*****

Karma: 1
Posts: 43



WWW
« Reply #1 on: August 01, 2007, 08:58:58 PM »

It gives us great pleasure to announce that both versions of PHP can now be used and run simultaneously on our servers!

Several clients had expressed a desire to have PHP5 installed on our servers so they can have the latest and greatest software. We have been listening to your suggestions and we’re happy to say it’s now installed and fully up and running! We had been looking into ways of implementing it to run alongside PHP4 so that existing PHP scripts and websites do not break.

In order to run a PHP5 script, simply add the following line into your .htaccess file, which will force your .PHP files to be handled by the new PHP5 system:

AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml

If you wish to leave your .PHP files to run as PHP4 (like they do now) and only have .php5 files run on PHP5, simply add the following line to .htaccess:

AddHandler application/x-httpd-php5 .php5

Note: .htaccess files affect the entire folder as well as any folders under it. So if you wanted to run PHP5 only for files inside a folder called "php5-files", then you would simply create the folder and put your .htaccess file inside that folder. Only files inside the folder and any folders under it will use PHP5 -- everything else will continue to use PHP4.

As always, if you have any questions, please contact us via the HelpDesk or support@cyberhostuk.net.
Logged

Kind regards,

Tim
CyberHostUK Founder & Managing Director
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM