[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP4 setup problems



Quoting Colin Watson <cjwatson@debian.org>:
> On Tue, May 28, 2002 at 01:12:07PM +0100, Andrew Pritchard wrote:
> > However when I try to go to the test script I wrote, it comes up with
> > a "500 error message". Looking in the error log I notice this:
> > 
> > (8)Exec format error: exec of /usr/lib/cgi-bin/hello.php failed
> > 
> > What is an Exec Format error?
> 
> It means that the kernel didn't know how to execute that file. Perhaps
> you need '#! /usr/bin/php4' as the first line of the PHP script?

I don't think so - it's supposed to be a PHP enabled webpage. The PHP is 
embedded into the HTML, so you shouldn't need to do things like that.

Andrew


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: