Re: [PHP] NameVirtualHost breaks PHP

2002-04-28 Thread Jason Wong

On Monday 29 April 2002 00:53, Greg Blakely wrote:

 I have an Apache web server (1.0.38) that has been peacefully
 co-existing with php4 for quite some time.  I've interfaced it to mySQL,
 and life was great.

Apache 1.0.38  How old is that? If you're really using such an old 
version you should first upgrade to something modern (1.3.X or the 2.0.X 
series).

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Chicken Little was right.
*/

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




RE: [PHP] NameVirtualHost breaks PHP

2002-04-28 Thread Greg Blakely

Jason Wong asked:

 Apache 1.0.38  How old is that? If you're really using such an old

 version you should first upgrade to something modern (1.3.X or the
2.0.X 
 series).

My bad.  I queried the wrong httpd (/bin/httpd rather than /sbin/httpd).

It's really 1.3.20

If I'd given it much thought, I'd have recognized the error.  

Oh, well.  Chalk it up to Sunday morning brain slips.

  -Greg-

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




RE: [PHP] NameVirtualHost breaks PHP

2002-04-28 Thread Greg Blakely

Frenck advised:

 add this to your virutalhost tag:

 AddType application/x-httpd-php .php

I did, and now browsers ask me if I want to download index.php...

Do I need to activate the php module?  I wonder why it worked before the
NameVirtualHost, and now it doesn't...





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