Menu

New Install Need some Help please

Help
2004-09-14
2004-09-20
  • Nobody/Anonymous

    I have Webserve 1.2.6.0 up and running - the test page shows apache is installed without error and the service is running.

    I am not able to view any php pages, however.  All I get as output is the php code.  I made a hello.php file that should output "Hello World", and placed it into the wwwroot\htdocs folder.  That file's code is:

    <html>
    <head>
      <title>PHP Test</title>
    </head>
    <body>
    <?php echo '<p>Hello World</p>'; ?>
    </body>
    </html>

    I can view no php code, by the way, not just the one I made... instead of seeing the "Hello World" I get a Notepad document that opens up and shows me the code.

    I thought the WebServ installation was supposed to edit the apache and php files - or am I supposed to do that?  If I am supposed to that - help! :/

     
    • Nobody/Anonymous

      what do you mean "I thought the WebServ installation was supposed to edit the apache and php files" ?
      it edits all the config files
      what is your install path?
      and what is the name of the file "php test"?

       

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.