How to start using PHP?

Hello all,

I finally got my localhost server running, by installing wamp servers.

I have never used php, don’t know anything about it, basically, i’m a complete beginner.

I have several questions to ask you pro’s and hope you could spare some time to answer some of the questions i got :slight_smile:

  1. How do i execute and start a php file on the server i just set up?

  2. How would i go about setting up my localserver on dreamweaver cs5?

    • where do i place my sites? in the server folder?
    • where do i place my server folder?

I hope you can help me here? I’m such a beginner that i dont even know the right questions to ask :S
However, i believe that most of you were probably in my position at some point in time and it would be great if you could tell me how you learned php in your beginning phases and give me some advice

Cheers guys and tnaks in advance :slight_smile:

Also, on my wamp servers localhost, i dont get the wamp server hompage but the typical apache localhost site with “it works”. how can i fix this?

I think if you go to the wamp folder, think it defaults to c:\wamp then there is a wwwroot or root or www folder there and there should be an index.php in there this will be the localhost home page

The index.php file is in that folder, and its the wamp localhost page that i’m trying to have as my default, but its not.
Anyone know how i can set/control my localhost directory?

This maybe of some use

I vaguely remember clicking on the gauge icon and there being a link to the root page is there an option there that helps?

ok so from this, my guess would be that my localhost root directory is still set to one of my previous attempts to install apache / PHP. how would i go about seeing where my localhost root directory is?

Just wanted to let you guys know that i figured it out.

All i had to do was type in 127.0.01 instead of localhost :slight_smile:

That’s good news
Happy Coding