RE: [PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread Greg Blakely
Yuri Petro asked: > Can you indicate Apache settings regarding php and virtualhosts? In the "main" server configuration area, I have: # The following is for PHP4 (conficts with PHP/FI, below): AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source

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 Maili

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 th

[PHP] NameVirtualHost breaks PHP

2002-04-28 Thread Greg Blakely
Hello. I'm new to this list, though not new to PHP. I'm hoping that my question hasn't been answered a thousand times before, and I did at least search on NameVirtualHost and read all those archived messages before getting to this point. I have an Apache web server (1.0.38) that has been peac