Re: Php - "No input file specified." when i try to run a php script on a web server
- From: "Eric Layman" <erricson@lays>
- Date: Sun, 28 Jan 2007 01:21:26 -0800
Wow. Thanks!
But it's hosted on a web hosting company at the moment. How are we going to
find out the details?
We have done our part to develop the scripts and we are ..sort of expecting
the scripts to work. It's fine on all of our development machines.
"d43m0n AT shaw DOT ca" <barryd.it@xxxxxxxxx> wrote in message
news:1169917420.572504.64570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You should paste more information... including where php is located,
and where your php file is located, usually, with windows you have to
add php to the %PATH, within the autoexec.bat
Otherwise, you'll need to manually specify it everytime you execute a
file.
try:
php /path/to/your/script.php | php5 /path/to/your/script.php
/usr/bin/php /path/to/your/script.php | /usr/bin/php5 /path/to/your/
script.php
Or if your on windows, you'll need to find where your php directory is
located.
Please specify if your using this "Web based php or CLI", beacause
that sort of error is only created directly from the php preprocessor,
and Apache normally checks if the file exists first, and then handles
execution of the preprocessor and then sends back the results to
Apache, which is then transfered to the client over HTTP..
On Jan 28, 12:08 am, "Eric Layman" <erricson@lays> wrote:
Hi,
Our webhost is setup but when we try to run a php script, we will get a
"No
input file specified." instead.
This is the server signature:
Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.7e PHP/5.1.4 Server
How can we rectify this problem?
Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
.
- Follow-Ups:
- 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
- Php - "No input file specified." when i try to run a php script on a web server
- Prev by Date: Re: Php - "No input file specified." when i try to run a php script on a web server
- Next by Date: Uploading chinese filenames using php
- Previous by thread: Re: Php - "No input file specified." when i try to run a php script on a web server
- Next by thread: Re: Php - "No input file specified." when i try to run a php script on a web server
- Index(es):
Relevant Pages
|