Re: PHP on Apache

From: Date: Sat, 28 Oct 2000 21:38:40 +0000
Subject: Re: PHP on Apache
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-3571@lists.php.net to get a copy of this message
I did what you said but it didn't make a difference. I forgot to mention that in a regular script it doesn't do it only in a form when I do: <form action=<?=$PHP_SELF?> So I'm figuring that the $PHP_SELF is bad .. thanx. > You're missing the ScriptAlias line. Place it before the others: > > ScriptAlias /cphp/ "c:/php4/php/" > > Or whatever your php path is (use front slashes). Also, I think it is > best recomended to use the Action before the AddType (but I've tried > both and they seem to work). > > Gonzalo. > > > Hi, > > I followed the tutorial on how to install php on apache (on windows) and now > > when I approach a file like this: http://localhost/moo.php > > it automatically > > goes to http://localhost/php4/php.exe/moo.php . > > This doesn't really matter to me because it works just fine but I know this > > is not normal. > > > Where did I go wrong? > > > Attached - the code I put in my httpd.conf: > > > AddType application/x-httpd-php .phtml .php > > AddType application/x-httpd-php-source .phps > > Action application/x-httpd-php "/php4/php.exe" > > _________________________________ > > David Berlin > > webmaster@builder.co.il > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#3571) next »