Re: Is there a special directory in which php scripts are to be placed

From: Date: Mon, 11 Sep 2000 15:55:05 +0000
Subject: Re: Is there a special directory in which php scripts are to be placed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16192@lists.php.net to get a copy of this message
At 08:45 PM 9/11/00 +0530, you wrote:
Hi, I am asking this question because when I give a "script alias" for the php script the server gives 500 Interval Server Error while trying to execute the script.But when i don't give script alias and try to execute it in htdocs directory it executes perfectly. When I asked my colleague, he told me that php scripts are basically html files. Therefore, the script alias won't work for php scripts.
    I want to know if this statement is correct. If not, how do I
initialize a script alias for the php scripts. Thanks Manas
You may have to tell the script where the php parser is kinda like you have to do with a perl script. I am not sure of all of that but I did run into a server like that last tuesday on my design adventure for a client. Very hard to work with and the set cookie function does not work. #! /usr/bin/blabla/php is somewhat i have to put at the top of each script (really annoying) Regards, Ian LeBlanc Senior Internet Technician Rask, Inc. - www.rask.com Phone: (727) 517-2000 Fax: (727) 517-2001

« previous php.general (#16192) next »