Exec error in aliased directory
| From: | D Hughes | Date: | Sun, 22 Feb 2004 17:21:37 +0000 |
| Subject: | Exec error in aliased directory | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12827@lists.php.net to get a copy of this message | ||
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
support@microtechniques.com