php website setup
-
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
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
-
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
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
-
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
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.
-
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
if you do use apache. you have to disable all IIS services. (start->run->services.msc)
-
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.
-
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[^]
-
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
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.
-
Notepad, or Textpad is pretty good. I don't know of any IDE to edit php files like dreamweaver.
-
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
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
-
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
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