> Just a bit of an update. As I mentioned below, I am using virtual hosts > to host 3 websites on my machine. I ended up copying a php file to the > default website and lo and behold the php ran fine. Why won't it run on > the other two sites? Does anyone have any ideas?
Jason, How about the <VirtualHost ...> declarations in ...\Apache\conf\httpd.conf? (can check logs after attempting to access to see if Apache sees them/you getting together - or not) Also, if relevant, the DNS entries for the Vhosts? =dn > Apache 1.3.20 > PHP 4.06 > W2K Pro > > I installed Apache to d:\apache > I extracted the php files to d:\apache\modules\mod_php4 > > I have the following code in httpd.conf: > > ScriptALias /php/ "d:/Apache/modules/mod_php4/" > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > Action application/x-httpd-php "/php/php.exe" > > I copied php.ini-dist to c:\winnt and renamed php.ini > I copied php4ts.dll to c:\winnt\system32 > > I restarted Apache. > > Anytime I try to get to a php page on my site, I get a message saying I > am trying to download the file. > > The sad thing is, I've done this before - and more than once, just not > in like six months. > > As an aside, I am using virtual hosts under apache, this wouldn't cause > problems would it? I can't see how/why. > > I've also set my Path environment to include d:\apache and > d:\apache\modules\mod_php4 -- PHP Windows 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]