Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. (1036 Views)
| Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(op): 5:27pm On Feb 27, 2016 |
I am working on a project and I am still learning some stuff but this one seems to be a very big road block. My php files do not execute on the browser instead they start downloading to the local PC automatically. I have been trying to resolve this issue (google, stackoverflow) for about 6 hours now all to no avail. Please, if you know what I am to do for the php files to run. Please tell me. Thank You! |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ogaprime(m): 5:59pm On Feb 27, 2016 |
ultimatex:Am still learning too...it seems its not in the server's folder e.g using wamp c://wamp/www |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(op): 6:32pm On Feb 27, 2016 |
ogaprime:No am talking about cPanel and online web host |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by hollyfat(m): 6:37pm On Feb 27, 2016 |
It do happens on some system. Use http://127.0.0.1 instead of localhost |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by Nobody: 7:11pm On Feb 27, 2016 |
.htaccess Please paste the contents of the file let me see |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(op): 7:45pm On Feb 27, 2016 |
coolsix:I didn't use .htaccess since I am not restricting it to some users |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(op): 7:47pm On Feb 27, 2016 |
hollyfat:My virtual server is working perfectly. It is the online server that has this issue. |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by Nobody: 8:18pm On Feb 27, 2016 |
ultimatex:There are two factors that can cause your php files to download. Also .htaccess is not only for restricting users. It has alot of functions. Factors include: 1.) Apache Configuration 2.) Since you said no .htaccess it's unusual it would be an Apache Configuration so you contact your Web host |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ogaprime(m): 8:34pm On Feb 27, 2016 |
ultimatex:Alright but that is what happens when you don't read the php file from the server. So that means some files are in the wrong places |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by onyengbu: 9:02pm On Feb 27, 2016 |
ultimatex:Which hosting plan did you pay for? Linux or Windows or both? Also, even if you didn't create .htaccess file yourself, make sure none exist there. |
| Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(op): 9:41pm On Feb 27, 2016 |
onyengbu:Its cpanel using GlobalHosting247 - I don't know whether its Linux or windows. I will check tomorrow |
HELP ME Error Parsing XML, Line 15, Column 70: The Entity "Raquo" Was Referenced • Download All My Php/website Scripts With Just A Token • Hello Please Can Someone Explain To To Me What Torrent Files Are • 2 • 3 • 4
Advertise Your Business To 1M Nigerians • Dominate Youtube, And Start Making Money From Youtube • (5,940k Dollar) 9btc (bitcoin) For Sale