>> Or add the following lines to /etc/apache/httpd.conf, preferably
>> between and its ending tag
>>
>> AddType application/x-httpd-php .php
>> AddType application/x-httpd-php-source .phps
> I noticed in the error log file that it was having a problem loading the
> magic file. The http.
> > 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?
>
> Or add the following lines to /etc/apache/httpd.conf, preferably between
> and its ending tag
>
> AddType application/x-httpd-php .php
> Ad
> 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?
Or add the following lines to /etc/apache/httpd.conf, preferably between
and its ending tag
AddType application/x-httpd-php .php
AddType applicatio
On Tue, May 28, 2002 at 02:40:08PM +0100, Andrew Pritchard wrote:
> Quoting Colin Watson <[EMAIL PROTECTED]>:
> > 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
Quoting Colin Watson <[EMAIL PROTECTED]>:
> 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/
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
On 2002.05.28 08:41 James Cameron wrote:
On Tue, 2002-05-28 at 22:36, Andrew Pritchard wrote:
> Hmmm - now it comes up with a 403: Permission denied. And from the
error.log:
> [error] [client 127.0.0.1] Options ExecCGI is off in this
> directory: /var/www/hello.php
Make sure it is not executabl
On 2002.05.28 08:36 Andrew Pritchard wrote:
> You're right, it is very simple.
>
> Move the script to /var/www or where your other content is, then
access
> it via your web server.
>
> http://localhost/hello.php
>
> I wouldn't be surprised if we all forgot to mention that in the
> documentation!
On Tue, 2002-05-28 at 22:36, Andrew Pritchard wrote:
> Hmmm - now it comes up with a 403: Permission denied. And from the error.log:
> [error] [client 127.0.0.1] Options ExecCGI is off in this
> directory: /var/www/hello.php
Make sure it is not executable. Mine are not, and they work.
After th
> You're right, it is very simple.
>
> Move the script to /var/www or where your other content is, then access
> it via your web server.
>
> http://localhost/hello.php
>
> I wouldn't be surprised if we all forgot to mention that in the
> documentation!
Hmmm - now it comes up with a 403: Permiss
You're right, it is very simple.
Move the script to /var/www or where your other content is, then access
it via your web server.
http://localhost/hello.php
I wouldn't be surprised if we all forgot to mention that in the
documentation!
--
James Cameron ([EMAI
11 matches
Mail list logo