Jump to content


Photo

view php files on my computer


  • Please log in to reply
7 replies to this topic

#1 widdgama

widdgama
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 17 October 2006 - 11:42 AM

hi
i got this website which is designed by PHP, but i'm wondering how can i view the website on my computer. i'm running windows platform and IIS. any specific setup i can do then i can view the website freely?
thanx alot

#2 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 17 October 2006 - 12:10 PM

Sure, you have to install Apache and PHP  :)
I don't need your script, I'll try to write it myself

#3 d_barszczak

d_barszczak
  • Members
  • PipPipPip
  • Advanced Member
  • 188 posts
  • LocationBradford - UK

Posted 17 October 2006 - 12:15 PM

You need to install php which you can use with IIS. Apache is not required.

When all else fails - Try reading the manual.

Integrated IT Systems Ltd


#4 widdgama

widdgama
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 29 October 2006 - 09:27 AM

i tried to install IIS but that didnt work for me, i installed PHP and APACHE but still i cannt view the files. what should i do?
thanx

#5 Switch0r

Switch0r
  • Members
  • PipPipPip
  • Advanced Member
  • 33 posts
  • LocationManchester, UK

Posted 29 October 2006 - 10:36 AM

try this:

http://vertrigo.sourceforge.net/

no hassle to install/setup, plus its an all in one install package, me loves it :)
The Human Torch was denied a bank loan...

#6 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 October 2006 - 02:12 PM

try this:

http://vertrigo.sourceforge.net/

no hassle to install/setup, plus its an all in one install package, me loves it :)

I forbid those all-in-one setups. I prefer to manually install Apache and PHP. If you want to install Apache and PHP then have a read of this post of mine.

#7 widdgama

widdgama
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 31 October 2006 - 09:28 AM

thanx and i really appreciate ur help , but apache didnt work for me i followed the exact same steps as u mentioned it in the tutorial but i stopped at
fire up a web browser and type in http://localhost or http://127.0.0.1
it didnt start the welcome page instead i got error! so i uninstalled apache and went back to IIS
here is what i exactly did :)
first of all im running windowsXP
i tried to install IIS from the add/remove program, windows componant, IIS.
so it's installed, and i checked it out by browsing localhost i got the getting started page.
i assumed i have no problems with IIS until i run 'iisext.vbs' Command-Line Administration Script, it's in C:\Windows\system32 and the script is: cscript iisext.vbs /AddFile c:\PHP\php5isapi.dll 1 PHPISAPI 1 "PHP ISAPI"
but i gives me Input error: can not find script file iisext.vbs and when i checked the system32 folder i found iisext.dll ?? so what should i do?

then comes the PHP

#8 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 31 October 2006 - 06:51 PM

When you installed Apache did you uninstall IIS?

You may have not uninstalled IIS and when Apache started up. It couldn't as IIS was still running. About the error your get could you post me the error you got too. Also when you go to http://localhost/ or http://127.0.0.1/ make sure Apache is running. You know when its not as you get a 404 Page cannot be displayed error or something similar.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users