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. php website setup

php website setup

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phphelpquestionworkspace
15 Posts 7 Posters 0 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.
  • O Offline
    O Offline
    omlac
    wrote on last edited by
    #1

    hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

    M O D 5 Replies Last reply
    0
    • O omlac

      hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

      M Offline
      M Offline
      Mohammad Dayyan
      wrote on last edited by
      #2

      Well, it's so general. What's your problem exactly ?

      1 Reply Last reply
      0
      • O omlac

        hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

        O Offline
        O Offline
        omlac
        wrote on last edited by
        #3

        well i have got a folder of php files which was used to build a website, how can i run this application on my machine. like running in debug mode using .net framework. everytime i try to run this app it request for athe dreamweaver sites but php doesnt run in dreamweaver. by running i mean opening a php page eg index.php in dreamweaver and the F12 in dreamweaver. is this how im supposed to do it.

        L M 2 Replies Last reply
        0
        • O omlac

          well i have got a folder of php files which was used to build a website, how can i run this application on my machine. like running in debug mode using .net framework. everytime i try to run this app it request for athe dreamweaver sites but php doesnt run in dreamweaver. by running i mean opening a php page eg index.php in dreamweaver and the F12 in dreamweaver. is this how im supposed to do it.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Notepad, or Textpad is pretty good. I don't know of any IDE to edit php files like dreamweaver.

          Check out the CodeProject forum Guidelines[^]

          F 1 Reply Last reply
          0
          • O omlac

            well i have got a folder of php files which was used to build a website, how can i run this application on my machine. like running in debug mode using .net framework. everytime i try to run this app it request for athe dreamweaver sites but php doesnt run in dreamweaver. by running i mean opening a php page eg index.php in dreamweaver and the F12 in dreamweaver. is this how im supposed to do it.

            M Offline
            M Offline
            Marc Firth
            wrote on last edited by
            #5

            You need to set up your computers local server to parse php files you can either install php on iis or install it on apache (try googling "xampp"). With xampp: - install xampp and make sure apache is running - put website in htdocs folder (ie. c://xampp/htdocs/[websitefoldername]). "htdocs" folder is your web doc root (like "wwwroot") - run dreamweaver - choose "manage sites" from the file panel - click "New" - "advanced" tab - give site name and enter the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername]) - category -> testing server - sever model = php mysql - access = local network - testing server folder = the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername]) - url prefix = http://localhost/\[websitefoldername\] - open a file and press F12 Hope that helps

            Neonlight

            O 1 Reply Last reply
            0
            • O omlac

              hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

              O Offline
              O Offline
              omlac
              wrote on last edited by
              #6

              i still cant run the app after installing php on iss. the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver. but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver Regards

              1 Reply Last reply
              0
              • M Marc Firth

                You need to set up your computers local server to parse php files you can either install php on iis or install it on apache (try googling "xampp"). With xampp: - install xampp and make sure apache is running - put website in htdocs folder (ie. c://xampp/htdocs/[websitefoldername]). "htdocs" folder is your web doc root (like "wwwroot") - run dreamweaver - choose "manage sites" from the file panel - click "New" - "advanced" tab - give site name and enter the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername]) - category -> testing server - sever model = php mysql - access = local network - testing server folder = the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername]) - url prefix = http://localhost/\[websitefoldername\] - open a file and press F12 Hope that helps

                Neonlight

                O Offline
                O Offline
                omlac
                wrote on last edited by
                #7

                thanks fro the reply i still cant run the app after installing php on iss. the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver. but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver Regards

                M 2 Replies Last reply
                0
                • O omlac

                  thanks fro the reply i still cant run the app after installing php on iss. the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver. but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver Regards

                  M Offline
                  M Offline
                  Marc Firth
                  wrote on last edited by
                  #8

                  Either your site manager isn't configured correctly in DW or your Server setup isnt parsing php files. If you put a blank php doc in your wwwroot it should load up as a blank webpage if you open your browser and go to localhost/pathtoyourphpfile.php. If it doesn't then you know your server isn't parsing the files. If your site doesn't have to be tested on IIS then I would suggest trying apache (xampp) as described before.

                  Neonlight

                  O 1 Reply Last reply
                  0
                  • O omlac

                    thanks fro the reply i still cant run the app after installing php on iss. the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver. but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver Regards

                    M Offline
                    M Offline
                    Marc Firth
                    wrote on last edited by
                    #9

                    if you do use apache. you have to disable all IIS services. (start->run->services.msc)

                    Neonlight

                    1 Reply Last reply
                    0
                    • M Marc Firth

                      Either your site manager isn't configured correctly in DW or your Server setup isnt parsing php files. If you put a blank php doc in your wwwroot it should load up as a blank webpage if you open your browser and go to localhost/pathtoyourphpfile.php. If it doesn't then you know your server isn't parsing the files. If your site doesn't have to be tested on IIS then I would suggest trying apache (xampp) as described before.

                      Neonlight

                      O Offline
                      O Offline
                      omlac
                      wrote on last edited by
                      #10

                      thanks on installing php which iis should i use, there are two of them appearing regards

                      M 1 Reply Last reply
                      0
                      • O omlac

                        thanks on installing php which iis should i use, there are two of them appearing regards

                        M Offline
                        M Offline
                        Marc Firth
                        wrote on last edited by
                        #11

                        whichever one is working i guess - create a document in your wwwroot and see if you can access it through your browser Installing php on IIS6 http://peterguy.com/php/install_IIS6.html[^]

                        Neonlight

                        1 Reply Last reply
                        0
                        • O omlac

                          hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

                          D Offline
                          D Offline
                          DaveX86
                          wrote on last edited by
                          #12

                          If you want to run PHP under IIS, IIS-Aid website[^] has a handy installer I prefer running PHP under IIS if you're developing on a Windows box. You also have to go into the IIS Management Console and turn on scripting for the folders under your wwwroot that you want to run PHP scripts in. There's a handy getting started tutorial in the PHP documentation [^]as well, also it tells you how to manually install PHP.

                          1 Reply Last reply
                          0
                          • L Lost User

                            Notepad, or Textpad is pretty good. I don't know of any IDE to edit php files like dreamweaver.

                            Check out the CodeProject forum Guidelines[^]

                            F Offline
                            F Offline
                            fly904
                            wrote on last edited by
                            #13

                            PHP plugin for Eclipse.[^]

                            hmmm pie

                            1 Reply Last reply
                            0
                            • O omlac

                              hi all i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files Thanks

                              O Offline
                              O Offline
                              omlac
                              wrote on last edited by
                              #14

                              i dont know why it is so difficult to install this PHP or im dumb I have been trying to setup/install php on an XP pc with IIS but without success. here are a few questions i have; on webserver set which IIS should i choose(there is IIS ASApi Module, IIS Fast CGI and IIS CGI) and in IIS what should i specify as my local path under homedirectory tab. or if someone has got all the steps i need to do this that will be greetly appreciated

                              T 1 Reply Last reply
                              0
                              • O omlac

                                i dont know why it is so difficult to install this PHP or im dumb I have been trying to setup/install php on an XP pc with IIS but without success. here are a few questions i have; on webserver set which IIS should i choose(there is IIS ASApi Module, IIS Fast CGI and IIS CGI) and in IIS what should i specify as my local path under homedirectory tab. or if someone has got all the steps i need to do this that will be greetly appreciated

                                T Offline
                                T Offline
                                tech603
                                wrote on last edited by
                                #15

                                I usually use IIS ASAPI Module, and here is an article that will help you setup php in IIS for the ISAPI module http://www.hostmysite.com/support/dedicated/general/installphp/[^] Hope that helps

                                Matthew Vass QA Analyst mvass@hostmysite.com HostMySite.com

                                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