I am running Apache 2.0.48 with PHP 4.3.4 with VirtualHost's.

Using the test file from 'Your first PHP-enable page' and calling it like
so:

<A href="hello.php">PHP test</A>

 works as expected.

calling it like so:

ScriptAlias /scriptsPHP/ "/www/testing/scripts/"
<A href="/scriptsPHP/hello.php">PHP alias test</A>

gives the following error:
[Sun Feb 22 11:48:20 2004] [error] (8)Exec format error: exec of 'hello.php'
failed

calling php /www/testing/scripts/hello.php from a command line works
perl and cgi scripts work from the aliased directory.
This worked with older versions of Apache and PHP.

I have run out of ideas.

...don
[EMAIL PROTECTED]

Reply via email to