SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    May 2006
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    localhost not seeing php code

    Hi,

    I installed apache, then dreamweaver, and lastly php. When I test my site via localhost I can see my html code (even in a file with a php extension) but I can't see any php code. Not even a simple echo "blablabal".

    Does this come from the order that I installed the apps ?
    How can I correct this.

    I do remember when I installed php it asked if I wanted to set up an apache server, and I answered No, as I had it already installed. Is this the error ?

    TIA
    Pat

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you installed Apache and PHP separately, you probably need to edit the httpd.conf configuration file to load the appropriate PHP module. Honestly, I would remove apache and PHP and just install WAMP, which gives you a full Apache+MySQL+PHP environment ready to go.


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
  •