Installation problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Karsten Weinert

    Installation problem

    Hello!
    Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When
    applying php.exe to a file test.php containing '<?php phpinfo();?>' via
    the command line, it produces the desired result. But when I try to
    access the same script via the browser (IE5), it just shows "No input
    file specified." I am using a simple python script as webserver (using a
    slightly modified version of CGIHTTPRequestH andler.py), which calls 'php
    test.php ""' and does not detect any error. I also tried Xitami, which
    gives the same result ("No input file specified.").

    What am I doing wrong?

    Any help is appreciated, kind regards,
    Karsten.

    --
    The email above is not in use, please write to k dot weinert at gmx dot net.
  • Reply Via Newsgroup

    #2
    Re: Installation problem

    Karsten Weinert wrote:
    [color=blue]
    > Hello!
    > Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When
    > applying php.exe to a file test.php containing '<?php phpinfo();?>' via
    > the command line, it produces the desired result. But when I try to
    > access the same script via the browser (IE5), it just shows "No input
    > file specified." I am using a simple python script as webserver (using a
    > slightly modified version of CGIHTTPRequestH andler.py), which calls 'php
    > test.php ""' and does not detect any error. I also tried Xitami, which
    > gives the same result ("No input file specified.").
    >
    > What am I doing wrong?[/color]

    I would *guess* the problem is with your simple python script webserver
    - I've not heard of it - Are you sure PHP is supported under it? You
    might find yourself with more trouble than its worth trying to configure
    it - Why not install Apache with PHP? I had it running on my
    win98/266mhz laptop with 96mb of ram, with mysql and dreamweaver and it
    ran fine'ish (a little slow but it was for my own development, not as a
    webserver).

    Comment

    • Karsten Weinert

      #3
      Re: Installation problem

      Reply Via Newsgroup <reply-to-newsgroup@pleas e.com> wrote in message news:<smx4c.791 757$ts4.399892@ pd7tw3no>...
      [color=blue]
      > I would *guess* the problem is with your simple python script webserver
      > - I've not heard of it - Are you sure PHP is supported under it? You
      > might find yourself with more trouble than its worth trying to configure
      > it - Why not install Apache with PHP? I had it running on my
      > win98/266mhz laptop with 96mb of ram, with mysql and dreamweaver and it
      > ran fine'ish (a little slow but it was for my own development, not as a
      > webserver).[/color]

      Hello,
      finally I found my mistake. I missed to set doc_root in php.ini correctly.

      I think some day I will switch to Apache, but for now this simple script is O.K.

      Kind regards,
      Karsten.

      Comment

      Working...