Posted by Carl Pearson on 01/28/07 14:42
Eric Layman wrote:
> Thanks.
>
> The problem is,
>
> It doesn't run any files with php extension. It will say "no input file
> specified"
>
> a simple
>
> <?php echo "hello world";?>
>
> doesn't work
OK, one other thing to try before contacting the host.
Edit your .htaccess file (or create one in the root of your web space if
it doesn't already exist) and add this:
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
If that doesn't work, then Apache's AllowOverride setting for your web
space does not have FileInfo (which allows for user modification of file
types). Nothing you can do about it but contact them.
[Back to original message]
|