Menu

Installation problem

Help
2006-02-06
2013-04-15
  • Nobody/Anonymous

    Sorry if the problem is silly, but I'm new at this. I installed webserv and apache seems working. I configured httpd.conf to parse php files. However when I try to test it by opening phpinfo.php which is

    <?
        php_info();
    ?>

    typing: http://localhost:8080/phpinfo.html

    I get

    Not Found

    The requested URL /phpinfo.html was not found on this server.

    Does the file phpinfo.php need to be stored in some particular location? I suppose no, since the httpd.conf file should parse files with that extension. Could you please give me any advice?

    Many thanks.

     
    • Nobody/Anonymous

      Your url should be http://localhost:8080/phpinfo.php
      and phpinfo.php should be in your htdocs subdirectory of Apache.

       
    • Nobody/Anonymous

      Thanks. I thought that phpinfo.php should be in htdocs subdirectory of Apache but there was not such directory. However, I made it, I put the file in there and I tried with http://localhost:8080/phpinfo.php but I got the same error. Any other suggestion?

      Many thanks.

       
    • Nobody/Anonymous

      I found the directory htdocs and I placed the file there. The browser shows now a blank page. Any help would be appreciated.

      Many thanks.

       
    • Mike Dessaint

      Mike Dessaint - 2006-02-24

      <?php
      phpinfo();
      ?>

      <?php
      is what your opening tags need to be

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.