| Dotable currently hosts more than 20,000 domains for clients from all parts of the planet. Dotable is an owner operated hosting company, with Dotable's owner's Bob and Steve having 15 years of combined hosting experience between them, going back to 2001.
Dotable offers a wide but focused range of hosting products. So if you're looking to purchase a domain, or host 1 domain, or need to host multiple domains, or need a reseller account, or a VPS account or a dedicated server, at Dotable we've got you covered. |
![]() |
|
|
#1 (permalink) |
|
Dotable
Join Date: Jun 2006
Location: Auckland
Posts: 1,437
|
Dear Clients,
As promised, we have now installed php5 onto all of our servers. PHP5 and PHP4 are running concurrently on each server. They are both installed as apache modules (mod_php5 + mod_php4). Having both versions of php available as modules, rather than running 1 of them as a CGI, is better as your existing scripts and permissions will need no modification, in order to run under php4 or php5. All you have to do to run existing or new scripts via php5 is either place a .htaccess file within the directory that you want to run php5, with the following within it. Code:
AddType application/x-httpd-php5 .php You can also name a file with a .php5 extension (no .htaccess modification required), so that you can run both versions of php within 1 directory if you wanted to ![]() You are able to place a .htaccess file within any directory and run different versions of php, all within the same site. Of course a .htaccess file placed within your public_html directory, will enable you to run php5 scripts anywhere on your site, you don't have to place a .htaccess file within every directory. You can also use 'php_value' directives within your .htaccess files as well, just like you can with php4. The syntax is just slightly different. You would use php5_value rather than php_value if you run php5 within that directory. You can see your servers php configuration via Mercury PHP4 - http://mercury.dotable.com/phpinfo.php PHP5 - http://mercury.dotable.com/phpinfo.php5 Venus PHP4 - http://venus.dotable.com/phpinfo.php PHP5 - http://venus.dotable.com/phpinfo.php5 Earth PHP4 - http://earth.dotcolo.com/phpinfo.php PHP5 - http://earth.dotcolo.com/phpinfo.php5 Mars PHP4 - http://mars.dotcolo.com/phpinfo.php PHP5 - http://mars.dotcolo.com/phpinfo.php5 Jupiter PHP4 - http://jupiter.dotcolo.com/phpinfo.php PHP5 - http://jupiter.dotcolo.com/phpinfo.php5 Saturn PHP4 - http://saturn.dotcolo.com/phpinfo.php PHP5 - http://saturn.dotcolo.com/phpinfo.php5 Neptune PHP4 - http://neptune.dotcolo.com/phpinfo.php PHP5 - http://neptune.dotcolo.com/phpinfo.php5 Pluto PHP4 - http://pluto.dotcolo.com/phpinfo.php PHP5 - http://pluto.dotcolo.com/phpinfo.php5 Voyager PHP4 - http://voyager.dotcolo.com/phpinfo.php PHP5 - http://voyager.dotcolo.com/phpinfo.php5 Kangaroo PHP4 - http://kangaroo.dotauserver.com/phpinfo.php PHP5 - http://kangaroo.dotauserver.com/phpinfo.php5 Enterprise PHP4 - http://enterprise.dotcolo.com/phpinfo.php PHP5 - http://enterprise.dotcolo.com/phpinfo.php5 Bob and I hope that you enjoy working with php5 as well as php4 on your Dotable accounts. ![]() |
|
|
|
|
|
#3 (permalink) |
|
Senior Member
Join Date: Nov 2005
Posts: 102
|
Sweeeet.. Awhile ago, you were just introduced and now you got PHP5 running on the servers.. Just how fast do you work?
![]() A little off track: could you get Mercury and Venus to be ".dotcolo.com" as well? It have been on Bob's whiteboard for some time.. ![]() |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
|
|||||||