|
Posted by d43m0n AT shaw DOT ca on 01/27/07 17:03
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
[Back to original message]
|