wamasterhunter Posted January 19, 2007 Share Posted January 19, 2007 Hi guys,I am trying to learn PHP but when I try to view the componet locally it wants me to download it? What is the problem? Quote Link to comment Share on other sites More sharing options...
trq Posted January 19, 2007 Share Posted January 19, 2007 Have you installed and configured a web server with php enabled? Quote Link to comment Share on other sites More sharing options...
wamasterhunter Posted January 19, 2007 Author Share Posted January 19, 2007 What do you mean by that? I have Apache and IIS, Apache is disabled though. Quote Link to comment Share on other sites More sharing options...
ball420 Posted January 25, 2007 Share Posted January 25, 2007 i'm having the same problem!! but with my instance i have set up IIS and am using dreamweaver to write my code. when i go to check if my code works or not it ask's me to open save cancel. anything i do it opens in dreamweaver<exept for cancel obviously> even if i right click and choose open with... what is the problem??? i'm running on xp pro. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted January 25, 2007 Share Posted January 25, 2007 [quote author=ball420 link=topic=123087.msg512805#msg512805 date=1169683406]i'm having the same problem!! but with my instance i have set up IIS and am using dreamweaver to write my code. when i go to check if my code works or not it ask's me to open save cancel. anything i do it opens in dreamweaver<exept for cancel obviously> even if i right click and choose open with... what is the problem??? i'm running on xp pro. [/quote]You need to do either of the following: - setup a project in Dreamweaver and tell it to use your local server when previewing files (read DW documentation on setting up projects)- or you need to setup IIS to parse PHP files with the PHP interpreter.@[b]wamasterhunter[/b][quote author=wamasterhunter link=topic=123087.msg508672#msg508672 date=1169225346]What do you mean by that? I have Apache and IIS, Apache is disabled though.[/quote]So which server is setup to parse PHP files with the PHP interpreter? IIS or Apache? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.