You are here: Re: Php - "No input file specified." when i try to run a php script on a web server « All PHP « IT news, forums, messages
Re: Php - "No input file specified." when i try to run a php script on a web server

Posted by d43m0n AT shaw DOT ca on 01/28/07 04:02

Alright, well, youll need to install mod_php in apache, and set the
types and magic mime.

On Jan 28, 12:38 pm, "Eric Layman" <erricson@lays> 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
>
> "Carl Pearson" <jman_spam_trap_....@gmail.com> wrote in messagenews:45bbbbd4$0$24511$4c368faf@roadrunner.com...
>
>
>
> > Eric Layman wrote:
> >> Wow. Thanks!
>
> >> But it's hosted on a web hosting company at the moment. How are we going
> >> to find out the details?
>
> > Put this in a file with a .php extension:
>
> > <?php phpinfo(); ?>
>
> > Upload it to your server and call it from the browser.
>
> > If it doesn't work, there's something wrong with the server's PHP setup
> > (unlikely though that prospect is if you're on a shared host).
>
> > If it does work, your script probably has some hard-coded paths in it that
> > need to be fixed. Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com

 

Navigation:

[Reply to this 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

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