Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Help me in configuring the PHP .How to run a PHP program

Help me in configuring the PHP .How to run a PHP program

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phpsysadminhelptutorial
8 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VickyVicki
    wrote on last edited by
    #1

    Hi Friends, I am new to PHP and I want to know how to run a PHP program .Would like to know how to configure it and kindly help in suggesting what kind of software to be used to run it.I tried with WAMP Server but i was not able to run it. :( .Thanks in Advance.

    A 1 Reply Last reply
    0
    • V VickyVicki

      Hi Friends, I am new to PHP and I want to know how to run a PHP program .Would like to know how to configure it and kindly help in suggesting what kind of software to be used to run it.I tried with WAMP Server but i was not able to run it. :( .Thanks in Advance.

      A Offline
      A Offline
      awedaonline
      wrote on last edited by
      #2

      Upon successful installation of WAMP, open a text editor and type

      <head><title>My First PHP Website</title></head>
      <body>
      </body>
      </html>

      make sure that you save it in the www of your php installation folder: eg: C:\wamp\www then laugth your web browser and typing http://localhost/filename.php or http://localhost:8080/filename.php as the case may be. it should work this way. welcome to the php world happy programming

      V 1 Reply Last reply
      0
      • A awedaonline

        Upon successful installation of WAMP, open a text editor and type

        <head><title>My First PHP Website</title></head>
        <body>
        </body>
        </html>

        make sure that you save it in the www of your php installation folder: eg: C:\wamp\www then laugth your web browser and typing http://localhost/filename.php or http://localhost:8080/filename.php as the case may be. it should work this way. welcome to the php world happy programming

        V Offline
        V Offline
        VickyVicki
        wrote on last edited by
        #3

        Thanks friend.I installed the wamp server and placed the following code in www folder .And started the server in the web browser typed the url http://localhost/filename.php[] But i m getting this error message. Not Found The requested URL /filename.php was not found on this server. Apache/1.3.12 Server at changeme.local.lan Port 80 :( I really want to learn php .Kindly help me

        A 1 Reply Last reply
        0
        • V VickyVicki

          Thanks friend.I installed the wamp server and placed the following code in www folder .And started the server in the web browser typed the url http://localhost/filename.php[] But i m getting this error message. Not Found The requested URL /filename.php was not found on this server. Apache/1.3.12 Server at changeme.local.lan Port 80 :( I really want to learn php .Kindly help me

          A Offline
          A Offline
          awedaonline
          wrote on last edited by
          #4

          the file name I mean is the name you gave the file when you saved it. eg: index.php (the file name is index).

          V 1 Reply Last reply
          0
          • A awedaonline

            the file name I mean is the name you gave the file when you saved it. eg: index.php (the file name is index).

            V Offline
            V Offline
            VickyVicki
            wrote on last edited by
            #5

            I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .

            A G 2 Replies Last reply
            0
            • V VickyVicki

              I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .

              A Offline
              A Offline
              awedaonline
              wrote on last edited by
              #6

              You can verify if Apache was installed from windows services (scroll down and look for wampapache). If not, you can uninstall the wamp server and reinstall again, then ensure that WAMP installs Apache for you. Hope this helps?

              1 Reply Last reply
              0
              • V VickyVicki

                I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .

                G Offline
                G Offline
                Gerben Jongerius
                wrote on last edited by
                #7

                Even if port 80 is in use that should not stop the installation of WAMP. You won't be able to startup WAMP until you close the other program using port 80. Usually this is skype, as this reserves port 80 and 8080 for outgoing and incoming traffic. You can try and locate the process by running

                netstat -ob

                .

                V 1 Reply Last reply
                0
                • G Gerben Jongerius

                  Even if port 80 is in use that should not stop the installation of WAMP. You won't be able to startup WAMP until you close the other program using port 80. Usually this is skype, as this reserves port 80 and 8080 for outgoing and incoming traffic. You can try and locate the process by running

                  netstat -ob

                  .

                  V Offline
                  V Offline
                  VickyVicki
                  wrote on last edited by
                  #8

                  Thanks for all .Successfully executed my first php program. :) .I formatted my system and installed it and i m able to run the program now . :)

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups