php malformed header from script

Net Llama! netllama
Sat Feb 18 10:32:10 PST 2006


On 02/18/2006 07:02 AM, David Bandel wrote:
> Folks,
> 
> OK, all you PHP lovers out there.  When I run a php script with apache I get:
>  malformed header from script. Bad header=Launching... (script name)
> 
> If I run php ./phpscript.php from a command line it works.  So I must
> have something hosed in my apache setup.  It wants to execute the php,
> so that part is right.  I also allow ExecCGI Includes FollowSymLinks.

It could be alot of different things.  Can you post the script in question?

If you run it as "php phpscript.php" does that give you any info?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

  07:20:01 up 6 days, 20:32,  1 user,  load average: 0.57, 0.23, 0.07


More information about the Linux-users mailing list