I did all things that you talked.
I put below in my httpd.conf those lines.
Thanks
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php403 "/ver403/php"
ScriptAlias /ver403/ "/usr/local/php/ver403/bin"
AddType application/x-httpd-php403 .php3
AddType application/x-httpd-php .php
Not Found
The requested URL /ver403/php/index.php3 was not found on this server.
----------------------------------------------------------------------------
----
Apache/1.3.26 Server at
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi Breno:
>
> On Tue, Aug 06, 2002 at 02:20:19AM -0300, Breno Cardoso Perucchi wrote:
> > Exists some way of to have 2 different versions in the same system ?
> > I am trying to running the version 4.2.2 and 4.0.3 .
>
> Sure. Install them in separate directories. In this example,
> /usr/local/bin/php has two sub directories, ver403 and ver422.
>
> Then, in httpd.conf, put:
>
> Action application/x-httpd-php403 "/php403/php.exe"
> ScriptAlias /php403/ "/usr/local/bin/php/ver403"
>
> Action application/x-httpd-php "/php422/php.exe"
> ScriptAlias /php422/ "/usr/local/bin/php/ver422"
>
>
> Now, in your various directories, use .htaccess files to control which
> version is to be called:
>
> AddType application/x-httpd-php403 .html
> AddType application/x-httpd-php .php
>
> Modify everything above to suit your real needs.
>
> --Dan
>
> --
> PHP classes that make web design easier
> SQL Solution | Layout Solution | Form Solution
> sqlsolution.info | layoutsolution.info | formsolution.info
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php