Jump to content

Index PHP File is doing Dramas and ActingUp


amitamberker
 Share

Recommended Posts

Hello Everyone, 1. When I try to open "index.php" file by double clicking on it, it opens up in the Default "Microsoft Office SharePoint Designer 2007" editor.2. If I try to open "index.php" by doing -- Select index.php >> Right Click >> Open with >> Internet Explorer... the files opens up from the dafault "View Downloads" alert box.3. If I try to open "index.php" file from IE Browser from File >> Open... I get Open -- Save -- Cancel options at the bottom of the IE Browser... So, how do I view the Layout / Design of index.php page from Browser? What should I do into my "Microsoft Office SharePoint Designer 2007" so that it could get published in a Normal Way like HTML Files does? Please help.

Edited by creative1977
  • Like 1
Link to comment
Share on other sites

you have to open it through http protocol in browser to get it executed.

Link to comment
Share on other sites

you have to open it through http protocol in browser to get it executed.
Hi birbal,How should I open it through http protocol in my browser to get it executed? What should I do? By the way, is there a way to "Enable" OR maybe "Disable" OR maybe "Set" something into my "Microsoft Office SharePoint Designer 2007" editor?
Link to comment
Share on other sites

On the taskbar I clicked "Start" and then I clicked "Control Panel" and then double clicked "Administrative Tools" but I don't see "Internet Information Services (IIS) Manager" file here... So, what should I do now?

Link to comment
Share on other sites

  • Upload your file to a host that supports PHP, or
  • install Apache/PHP locally
  • or IIS/PHP locally
  • or just get an AMP stack; i.e. WAMP.

Then either put your files in the www or htdocs folder, start Apache, and view the files over localhost (if local). Most of this basic information is available right in the tutorials.http://www.w3schools...p/php_intro.asp

Edited by thescientist
Link to comment
Share on other sites

you have to type the url in your address bar of browser. to make it happen.. you have to make sure you have web server is installed and running. you have php installed. You have to make sure file is in web root you can type http://localhost in your browser. does it show you anything? if yes then you can assume your server is working.

Link to comment
Share on other sites

you have to type the url in your address bar of browser. to make it happen.. you have to make sure you have web server is installed and running. you have php installed. You have to make sure file is in web root you can type http://localhost in your browser. does it show you anything? if yes then you can assume your server is working.
Hi birbal, I typed as http://localhost in my browser but nothing shows up. It says: "Internet Explorer cannot display the webpage" I have installed "Internet Information Services (IIS) Manager" file into the following path: "Control Panel\All Control Panel Items\Administrative Tools" I am unable to understand what to do after double clicking "Internet Information Services (IIS) Manager" file. Hi thescientist, Mate, please hang on... You are taking me into too deep. Please do not confuse me. I don't want to get into all those details. I think birbal is taking me in a better way. I would prefer to follow birbal. Edited by creative1977
Link to comment
Share on other sites

:rofl:
Hi DDs1, Why are you laughing so very much? What happened? I wanted to make this post sometime during 2010. But somehow I could do it during 2010 since I get PHP files once in blue moon. Most of the time I am into HTML, CSS, PSD, GIF, CDR, PDF, DOC and little bit into JS. Edited by creative1977
Link to comment
Share on other sites

Hi DDs1, Why are you laughing so very much? What happened? I wanted to make this post sometime during 2010. But somehow I could do it during 2010 since I get PHP files once in blue moon. Most of the time I am into HTML, CSS, PSD, GIF, CDR, PDF, DOC and little bit into JS.
well considering, its my file lol, which i asked you not to post, since you offer your help and could not even help. anyway ill let you use that file considering its not important to me anymore. i already got paid for the work so im good lol, anyway enjoy :)
Link to comment
Share on other sites

well considering, its my file lol, which i asked you not to post, since you offer your help and could not even help. anyway ill let you use that file considering its not important to me anymore. i already got paid for the work so im good lol, anyway enjoy :)
Hi DDs1,You came to me and seeked my help. Hence, I was willing to offer you my help. Like I said, I wanted to make this post long ago. But I could not. I don't think you got paid for the work. I can make it out. But anyways. Let's not discuss about your work. If you have resolved your issue by yourself, that's great. Keep it up.If you can help me into this discussion, then please tell me what should I do to view index.php file's Design from Browser. If you are not sure, then watch-out back and forth discussion and try to learn.
Link to comment
Share on other sites

Hi birbal,Please find the attached Screenshot of "IIS Manager Pop-Up Window.png" file. So, what should I do now?

Link to comment
Share on other sites

Hi DDs1, You came to me and seeked my help. Hence, I was willing to offer you my help. Like I said, I wanted to make this post long ago. But I could not. I don't think you got paid for the work. I can make it out. But anyways. Let's not discuss about your work. If you have resolved your issue by yourself, that's great. Keep it up. If you can help me into this discussion, then please tell me what should I do to view index.php file's Design from Browser. If you are not sure, then watch-out back and forth discussion and try to learn.
man i get paid every month, even if i dont got nothing to do, so getting paid for something like this, isnt nothing to me :) and to be able to view my file you just need to do as was told, put it in an http, in another words, you need a domain, or a localhost, a localhost is stuff like wamp, xxamp, etc a domain is the www.blahblahblah.com :rofl: funny, btw i asked if you know php, you said your gonna help, which implied you know php, but you clearly dont know php, im not trying to pull you down, but honestly dont try to be partners with someone, just to feed off of them thats all im saying. anyway thats how you will be able to view my file
Link to comment
Share on other sites

you have to type the url in your address bar of browser. to make it happen.. you have to make sure you have web server is installed and running. you have php installed. You have to make sure file is in web root you can type http://localhost in your browser. does it show you anything? if yes then you can assume your server is working.
Hi birbal, I have installed "IIS Manager". What should be my next step? Edited by creative1977
Link to comment
Share on other sites

I would recommend going through the general installation considerations, manual installation in Windows, and IIS7 setup.
Hi justsomeguy,Okie. Which one is the General Installation? You mean the following 2 options?Manual Installation StepsMicrosoft IIS 7.0 and later
Link to comment
Share on other sites

Hi justsomeguy, I think maybe there is yet another easier and simpler process. Upon reading birbal's 2 replies, I typed as http://localhost in my browser but nothing showed up. It said: "Internet Explorer cannot display the webpage" and then somehow I managed myself to install "Internet Information Services (IIS) Manager" file with the help of Google into the following path: "Control Panel\All Control Panel Items\Administrative Tools" Well -- So, in the following link: http://www.iis.net/C...er/httpProtocol under "How To" section I am stucked-up at:
2. In the Connections pane, go to the site, application, or directory for which you want to enable HTTP keep-alives.
I am unable to understand how to go to the directory (index.php) for which I want to enable HTTP keep-alives. Please see the ScreenShot of "IIS Manager Pop-Up Window.png" file in: http://w3schools.inv...ndpost&p=243524 Edited by creative1977
Link to comment
Share on other sites

I don't understand how keep-alive has anything to do with installing PHP, but the directory is where you have your index.php, probably in a location similar to c:\inetpub\wwwroot. The IIS manager should also have a list of sites that you can use.

Link to comment
Share on other sites

I don't understand how keep-alive has anything to do with installing PHP, but the directory is where you have your index.php, probably in a location similar to c:\inetpub\wwwroot. The IIS manager should also have a list of sites that you can use.
Hi justsomeguy, I don't know what does the term "keep-alive" in that sentence mean. I am still trying to analyze IIS manager. So, would you recommend me to create a "inetpub" Folder in my C: Drive and then "wwwroot" Folder inside the "inetpub" Folder? I am not able to see any sites in IIS Manager. WOW!!!... It's already there :) I mean, "inetpub" Folder and "wwwroot" Folder inside the "inetpub" Folder is already there in my C: Drive. So, now................. Edited by creative1977
Link to comment
Share on other sites

I don't know what does the term "keep-alive" in that sentence mean.
Keep-alive is a feature of HTTP. The quote in post #20 indicates that you are trying to enable keep-alive, and I was wondering what that had to do with installing PHP. The link you posted to iis.net is an article about how to enable keep-alive which, again, I'm not sure what that has to do with installing PHP.
Link to comment
Share on other sites

Keep-alive is a feature of HTTP. The quote in post #20 indicates that you are trying to enable keep-alive, and I was wondering what that had to do with installing PHP. The link you posted to iis.net is an article about how to enable keep-alive which, again, I'm not sure what that has to do with installing PHP.
Hi justsomeguy,No. I did not try to enable anything as such. I just wanted to share what all is happening and what is going on here. So, is it mandatory to install PHP (software / program) into my Laptop to view the Design of index.php (or any other .php) page from Browser? I thought the "Internet Information Services (IIS) Manager" file should be able to resolve my issue without installinging PHP in my Laptop. Just now I searched as "how to install php on windows 7" on YouTube and found the following results:http://www.youtube.com/results?search_query=how+to+install+php+on+windows+7&oq=how+to+install+php&aq=0&aqi=g10&aql=&gs_l=youtube.1.0.0l10.146.28889.0.34557.17.14.0.3.3.0.750.3644.3j3j3j1j3j0j1.14.0...0.0.NU9paAyDcPQSo, which Video Tutorial should I watch? As per your post in #19, I tried my best to read that article. I have no idea which one to pick from:http://www.php.net/downloads.phpBy the way, is there a way to do something into my "Microsoft Office SharePoint Designer 2007" editor so that .php could get published in a Normal Way like .html Files looks in the browser?
Link to comment
Share on other sites

you can't run php files without installing php. IIS is webserver which can serve files no matter what it is. if your server is running and if you put any html file in web root eg index.html it will show that. installing php means when anyone request a page with .php extension php interpreter will execute it nd then iis will serve it.

Edited by birbal
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...