RE: [PHP-WIN] PHP on Apache

From: Date: Mon, 30 Oct 2000 14:40:04 +0000
Subject: RE: [PHP-WIN] PHP on Apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3588@lists.php.net to get a copy of this message
the flow is in the <?=$PHP_SELF?> ! It should be <?php echo $PHP_SELF ?>. -----Original Message----- From: Andreas Lange [mailto:CodeDuck@gmx.net] Sent: Sunday, October 29, 2000 1:08 AM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] PHP on Apache u can use PATH_INFO also, if don't need the get-parameters ;) CodeDuck > -----Original Message----- > From: David [mailto:webmaster@builder.co.il] > Sent: Saturday, October 28, 2000 11:39 PM > To: php-windows@lists.php.net > Subject: Re: [PHP-WIN] PHP on Apache > > > 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 > > > > > > > -- > 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 > -- 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 (#3588) next »