Re: Php - "No input file specified." when i try to run a php script on a web server
- From: Carl Pearson <jman_spam_trap_.org@xxxxxxxxx>
- Date: Sun, 28 Jan 2007 08:42:21 -0600
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.
.
- References:
- Php - "No input file specified." when i try to run a php script on a web server
- From: Eric Layman
- Re: Php - "No input file specified." when i try to run a php script on a web server
- From: d43m0n AT shaw DOT ca
- Re: Php - "No input file specified." when i try to run a php script on a web server
- From: Eric Layman
- Re: Php - "No input file specified." when i try to run a php script on a web server
- From: Carl Pearson
- Re: Php - "No input file specified." when i try to run a php script on a web server
- From: Eric Layman
- Php - "No input file specified." when i try to run a php script on a web server
- Prev by Date: Uploading chinese filenames using php
- Next by Date: Re: how send messages between two proceses?
- Previous by thread: Re: Php - "No input file specified." when i try to run a php script on a web server
- Next by thread: Uploading chinese filenames using php
- Index(es):
Relevant Pages
|