Re: PHP 5
| From: | Antonio Carlos Venancio Junior | Date: | Sun, 10 Feb 2002 11:58:17 +0000 |
| Subject: | Re: PHP 5 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4545@lists.php.net to get a copy of this message | ||
Martin,
"Martin Jansen" <mail@martin-jansen.de> wrote:
| On Sun, 10 Feb 2002 09:46:23 -0200, Antonio Carlos Venancio Junior
| wrote:
|
| >| > But I know that mid/large providers that have thousands of clients
| >| >running at the same server will add support to PHP 5 to their
| >| >servers without leave the support in Apache for PHP 4 and PHP 3.
| >|
| >| That would break their customers scripts in many ways and I'm not
| >| sure if that's, what providers want to do ;-).
| >
| > Why?
|
| PHP 5 breaks backwards compatibility towards PHP 4 in many points.
But they can do exactly as with PHP4/PHP3 in Apache:
----------
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
</IfModule>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php5 .php5
AddType application/x-httpd-php-source .php5s
</IfModule>
----------
Cya
Antonio
.-===================================================================-.
| Can't buy what I want because its FREE! - Pearl Jam |
|-===================================================================-|
| ICQ# 9253680 | Floripa | MySQL | PHP | FreeBSD - The Power to Serve |
`-===================================================================-'