SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict Percipient's Avatar
    Join Date
    Jun 2000
    Location
    Summerland, BC, Canada.
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm trying to install the latest version of PHP on my home machine for development purposes. I used the installer that comes with one of the Windows versions. I then checked and confirmed everything in the install instructions, as well as the Sitepoint article on using MySQL and PHP. I'm using Personal Web Server(PWS) 4. My problem comes when I go to open a PHP file. The file opens up on the server with nothing where any php code is. I don't see any raw PHP, just emptiness where there should be something filled in by PHP. It's like the server is blind to everything between <?php and ?>.
    Any assistance is greatly appreciated. Thanks.
    Ed Rands

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How are you trying to open the php page, did you do a File>Open or did you type in http://localhost in the browser. You need view the php pages through a web server so get PWS running and put a php file in the root directory, then access as http://localhost/yourfile.php
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    SitePoint Addict Percipient's Avatar
    Join Date
    Jun 2000
    Location
    Summerland, BC, Canada.
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it. Duh! It said I had to restart the server. I didn't realize this involved restarting the entire computer. (Knocks on his head and hears an echo.) Now it works fine and dandy. Thanks anyway. And yes, I was accessing it through http://localhost/test.php.

    Thanks anyway.
    <Edited by Percipient on 02-04-2001 at 10:07 PM>
    Ed Rands


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •