Reply to Re: Php - "No input file specified." when i try to run a php script on a web server

Your name:

Reply:


Posted by Eric Layman on 01/28/07 09:21

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@gmail.com> wrote in message
news:1169917420.572504.64570@p10g2000cwp.googlegroups.com...
> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация