Re: [PHP] .php3 extension?

2002-05-30 Thread The Gabster

Thanks a lot to all!!!


gabi.



"Nicole Lallande" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you want your home page to be a .php3 file then you must add
> index.php3 to your DirectoryIndex directive:
>
> DirectoryIndex index.html index.htm index.cgi index.php3 index.php  ---
> and so on.
>
> In addition, .php3 should be added to your AddType directive
>
> AddType application/x-httpd-php .php .php3 .php4 .phtml
>
> If you cannot access your httpd.conf file on your server, the same
> directives can be modified using a .htaccess file in the appropriate
> directive.
>
> HTH,
>
> Nicole
>
>
> The Gabster wrote:
>
> >Hello all...
> >
> >I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works
> >fine, etc. The question I have, how can I configure PHP (or Apache?) to
> >support (and run) .php3 extension files?
> >
> >Thanks a lot,
> >Gabi.
> >
> >
> >
>
> --
> 
> Nicole Lallande
> [EMAIL PROTECTED]
> 760.753.6766
> 
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] .php3 extension?

2002-05-30 Thread Greg Wright



*** REPLY SEPARATOR  ***

On 30/05/2002 at 9:45 AM The Gabster [EMAIL PROTECTED]
[gregausit/phplist] wrote:

>Hello all...
>
>I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works
>fine, etc. The question I have, how can I configure PHP (or Apache?) to
>support (and run) .php3 extension files?


look for

AddType application/x-httpd-php .php

then change it to look like

AddType application/x-httpd-php .php .php3

Regards

Greg Wright
-- 

IT Consultant Sydney Australia PH 0418 292020 -- Int. +61 418 292020
Available for Global Contracts  US Fax -- 801 740 2874
Web  http://www.ausit.comE-mail Greg  AT  AusIT.com
Trading As -   AAA Computers -- providers of IT services.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] .php3 extension?

2002-05-30 Thread Nicole Lallande

If you want your home page to be a .php3 file then you must add 
index.php3 to your DirectoryIndex directive:

DirectoryIndex index.html index.htm index.cgi index.php3 index.php  --- 
and so on.

In addition, .php3 should be added to your AddType directive

AddType application/x-httpd-php .php .php3 .php4 .phtml

If you cannot access your httpd.conf file on your server, the same 
directives can be modified using a .htaccess file in the appropriate 
directive.

HTH,

Nicole


The Gabster wrote:

>Hello all...
>
>I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works
>fine, etc. The question I have, how can I configure PHP (or Apache?) to
>support (and run) .php3 extension files?
>
>Thanks a lot,
>Gabi.
>
>
>

-- 

Nicole Lallande
[EMAIL PROTECTED]
760.753.6766





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] .php3 extension?

2002-05-30 Thread John S. Huggins

Somewhere in the apache configuration file you will find something like
this...


AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps


To include the old .php3 extension make it look like this...


AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps



On Thu, 30 May 2002, The Gabster wrote:

>-Hello all...
>-
>-I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works
>-fine, etc. The question I have, how can I configure PHP (or Apache?) to
>-support (and run) .php3 extension files?
>-
>-Thanks a lot,
>-Gabi.
>-
>-
>-
>--- 
>-PHP General Mailing List (http://www.php.net/)
>-To unsubscribe, visit: http://www.php.net/unsub.php
>-

**

John Huggins
VANet

[EMAIL PROTECTED]
http://www.va.net/

**


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] php3 extension

2001-07-24 Thread Phil Driscoll

On Tuesday 24 July 2001 15:53, Phil Spitler wrote:
> Can anyone tell me how to turn on .php3 extensions in PHP on Win2000?  I've
> looked in the php.ini file and can't seem to find it.
>
In the internet services manager (or whatever it's called in W2K) add a 
script mapping for .php3 which is the same as the entry you currently have 
for .php. 

Cheers
-- 
Phil Driscoll

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]