| Welcome to Dotable. Dotable currently hosts more than 15,000 domains for clients in all corners of the globe, so we must be doing something right! Dotable is all about people, and without people Dotable would not be where it is today. We value our clients and work hard with them and for them, so they can achieve their online goals. Our client's success is our success. Dotable's staff has more than 40 years of combined experience in hosting. Our products range from single domain hosting, through to fully managed dedicated servers. We invite you to inspect our products from the links below. We're here to serve you so sing out if you need anything. |
![]() |
| Host one domain | Multiple domains | Reseller accounts | VPS accounts | Dedicated servers | Register domains | Backup space |
|
|
#1 (permalink) |
|
Retired - Gone Fishin'
Join Date: Jun 2006
Location: Auckland
Posts: 1,444
|
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: 131
|
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..
|
|
|
|
|
|
#7 (permalink) |
|
Retired - Gone Fishin'
Join Date: Jun 2006
Location: Auckland
Posts: 1,444
|
mylinear, php4 has always been mod_php4 (module) nothing has been changed at all there.
dericknq - I will discuss that with Bob regarding the server names. I hope you all enjoy using php5
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
|
|||||||